{{-- الهيدر --}}
|
{{ Namear }}
{{ describtionar }}
{{ STar }}
{{ Taxar }}
|
|
{{ Nameen }}
{{ describtionen }}
{{ STen }}
{{ Taxen }}
|
{{-- عنوان الفاتورة --}}
{{ $isTaxInvoice ? 'فاتورة ضريبية' : 'فاتورة ضريبية مبسطة' }}{{ $isTaxInvoice ? 'Tax Invoice' : 'Simplified Tax Invoice' }}
رقم الفاتورة · INVOICE NO#{{ $inv->id }}
{{-- بيانات الفاتورة + العميل --}}
بيانات الفاتورة INVOICE DETAILS
| تاريخ الفاتورةINVOICE DATE | {{ $inv->created_at }} |
| طريقة الدفعPAYMENT METHOD | {{ $pay }} |
| الفرعBRANCH | {{ optional($inv->branch)->name ?? '-' }} |
بيانات العميل CUSTOMER DETAILS
| اسم العميلCUSTOMER NAME | {{ optional($cust)->name ?? '-' }} |
| رقم الجوالPHONE | {{ $val(optional($cust)->phone) }} |
{{-- الأصناف --}}
| #NO |
@if ($inv->display_number)رقم المنتجITEM NO | @endif
اسم الصنفITEM NAME |
السعرPRICE |
الكميةQTY |
الإجماليTOTAL |
الخصمDISCOUNT |
نسبة الضريبةVAT % |
الضريبةVAT |
الصافيNET |
@forelse ($rows as $i => $r)
@php [$product, $beforeTax, $vatRow] = $r; @endphp
| {{ $i + 1 }} |
@if ($inv->display_number){{ optional($product->productData)->Product_Code }} | @endif
{{ $product->product_name ?? optional($product->productData)->product_name }} |
{{ $money($product->Unit_Price) }} |
{{ $product->quantity }} |
{{ $money($product->Unit_Price * $product->quantity) }} |
{{ $money($product->Discount_Value) }} |
{{ number_format($product->tax_rate * 100, 2) }}% |
{{ $money($vatRow) }} |
{{ $money($vatRow + $beforeTax) }} |
@empty
| لا توجد أصناف |
@endforelse
{{-- QR + البنك | الإجماليات --}}
{!! QrCode::size(110)->generate($dataforQRcode) !!}
@if (Auth()->user()->branchs_id == 1)
{{ bankname }}
رقم الحساب · Acc: {{ bank_acount_number }}
IBAN: {{ bank_acount_iban }}
@endif
| الإجماليSUB TOTAL | {{ $money($total_withoud_tax_row) }} |
| الخصمDISCOUNT | {{ $money($invoicetotal_discount) }} |
| الإجمالي بعد الخصمAFTER DISCOUNT | {{ $money($total_withoud_tax_row) }} |
| ضريبة القيمة المضافةVAT | {{ $money($invoicetotal_addedvalue) }} |
| الإجمالي الكليNET TOTAL | {{ $money($total_withoud_tax_row + $invoicetotal_addedvalue) }} SAR |
@if (!empty($data['totatextlriyales']) || !empty($data['totatextlrihalala']))
{{ $data['totatextlriyales'] }} {{ $data['totatextlrihalala'] }}
@endif
@if (!empty($inv->note))
{{ __('home.notesClient') }}: {!! $inv->note !!}
@endif
توقيع المستلم · Receiver
الختم والتوقيع · Stamp & Signature