@extends('layouts.master') @section('title', 'Debtors | Alboosh - Timeless authenticity, born of the desert') @section('title-topbar', __('basic.supplier file')) @section('css') @endsection @section('content')
{{ __('basic.id') }} {{ $debtor->new_id }}
{{ $debtor->full_name }}{{ __('basic.code') }} {{ $debtor->code }}
{{ $debtor->company_name }}
{{ $item->name }}
{{ $item->barcode }}
{{ $item->unit->name }}
{{ $currency }}
| {{ __('basic.name') }} | {{ __('basic.branch') }} | {{ __('basic.amount') }} | {{ __('basic.status') }} |
|---|---|---|---|
| {{ $item->code }} | {{ $item->branch->name }} | @if (!empty($item->final_price)) {{ $item->final_price }} EGP @endif | {{ $msg_invoice }} |
| {{ __('basic.type') }} | {{ __('basic.service') }} | {{ __('basic.balance before') }} | {{ __('basic.amount') }} | {{ __('basic.balance after') }} | {{ __('basic.branch') }} | {{ __('basic.note') }} |
|---|---|---|---|---|---|---|
| {{ __('basic.total') }} | {{ $debtor->wallet_reco->sum('amount') }} EGP | |||||
| {{ $msg }} | @if ($item->wallet_serviceable) @if($item->wallet_serviceable->booking) {{ $item->wallet_serviceable->name }} @else {{ $item->wallet_serviceable->name }} @endif @else {{ __('basic.new balance') }} @endif | {{ $item->balance_before_tran }} EGP | {{ $item->amount }} EGP | {{ $item->balance_before_tran - $item->amount }} EGP | {{ $item->branch->name }} | {{ $item->note }} |
| {{ __('basic.booking number') }} | {{ __('basic.branch') }} | {{ __('basic.file id') }} | {{ __('basic.client') }} | {{ __('basic.worker') }} | {{ __('basic.status') }} | {{ __('basic.sell to') }} | {{ __('basic.buy') }} | {{ __('basic.sell') }} | {{ __('basic.net income') }} | {{ __('basic.created') }} | {{ __('basic.last update') }} |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $item->code }} | @if($item->branch) {{ $item->branch->name }} @else {{ __('basic.not selected') }} @endif | {{ $item->file_id }} | @if($item->patient) {{ $item->patient->first_name }} @else {{ __('basic.not selected') }} @endif | @isset($item->creator->first_name) {{ $item->creator->first_name }} @endisset | {{ $msg }} | @if($item->sell_debtor) {{ $item->sell_debtor->company_name }} @else {{ __('basic.not selected') }} @endif | {{ $item->total_buy_price }} | {{ $item->total_sell_price }} | {{ $item->total_sell_price - $item->total_buy_price }} |
{{ date('Y-m-d', strtotime($item->created_at)) }} {{ date('h:i a', strtotime($item->created_at)) }} |
{{ date('Y-m-d', strtotime($item->updated_at)) }} {{ date('h:i a', strtotime($item->updated_at)) }} |