@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 ?? '---' }} | {{ $product->customer->name ?? '---' }} | {{ $product->created_at ? $product->created_at->format('Y-m-d H:i') : '---' }} | {{ $product->branch->name ?? '---' }} | @if(\Illuminate\Support\Facades\DB::table('return_sales')->where('invoice_id', $product->id)->exists()) {{ __('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 | --}}