@if (isset($data) && !empty($data) && count($data) > 0)
| {{ __('home.Invoice_no') }} | {{ __('home.sallerName') }} | {{ __('home.clietName') }} | {{ __('home.date') }} | {{ __('home.branch') }} | {{ __('home.total') }} | {{ __('home.paymentmethod') }} | الربط مع زكاة (Zatca) | {{ __('home.operations') }} |
|---|---|---|---|---|---|---|---|---|
| {{ $product->id }} | {{ $product->user->name ?? '---' }} | @php $branchNames = [ 1 => 'الرياض', 11 => 'الدمام', 9 => 'خميس مشيط', 10 => 'جدة', 12 => 'المستودع الرئيسي CPD' ]; @endphp {{ $product->customer->name ?? '---' }} {{ $product->customer->id == 335 ? ' - (' . ($branchNames[$product->branchs_id_reciver] ?? 'فرع غير معروف') . ')' : '' }} @if(isset($product->customer) && $product->customer->id == 335) @if(app()->getLocale() == 'ar') {{ $product->status_recive == 1 ? 'تم الاستلام' : 'لم يتم الاستلام' }} @else {{ $product->status_recive == 1 ? 'Received' : 'Not Received' }} @endif @endif | {{ $product->created_at->format('Y-m-d H:i') }} | {{ $product->branch->name }} | @if($totalWithTax == 0) {{ __('home.return') }} @else {{ number_format($totalWithTax, 2) }} @endif |
{{ $payText }}
@if($product->Pay == "Partition")
{{ __('report.shabka') }}: {{ $product->bankamount }} |
{{ __('home.Bank_transfer') }}: {{ $product->Bank_transfer }}
@endif
|
@if($product->sent_to_zatca == 1) مرسلة @else مسودة @endif |