رقم الفاتورة: {{ $einvoice->invoice_number }}
تاريخ الفاتورة: {{ $einvoice->invoice_date->format('Y-m-d') }}
تاريخ الاستحقاق: {{ $einvoice->due_date ? $einvoice->due_date->format('Y-m-d') : 'غير محدد' }}
الرقم الضريبي: {{ $einvoice->seller_ta_number }}
@if($einvoice->seller_address)العنوان: {{ $einvoice->seller_address }}
@endif @if($einvoice->seller_contact)الاتصال: {{ $einvoice->seller_contact }}
@endifالاسم: {{ $einvoice->seller_name }}
الرقم الضريبي: {{ $einvoice->seller_ta_number }}
@if($einvoice->seller_address)العنوان: {{ $einvoice->seller_address }}
@endif @if($einvoice->seller_contact)الاتصال: {{ $einvoice->seller_contact }}
@endifالاسم: {{ $einvoice->buyer_name }}
@if($einvoice->buyer_ta_number)الرقم الضريبي: {{ $einvoice->buyer_ta_number }}
@endif @if($einvoice->buyer_address)العنوان: {{ $einvoice->buyer_address }}
@endif @if($einvoice->buyer_contact)الاتصال: {{ $einvoice->buyer_contact }}
@endif| # | المنتج | الوصف | الكمية | سعر الوحدة | الخصم | المبلغ قبل الضريبة | الضريبة | الإجمالي |
|---|---|---|---|---|---|---|---|---|
| {{ $inde + 1 }} |
{{ $item->name }}
@if ($item->item_code)
{{ $item->item_code }}
@endif
|
{{ $item->description ?: '-' }} | {{ $item->quantity }} {{ $item->unit ?: '' }} | {{ number_format($item->unit_price, 2) }} | {{ $item->discount_rate > 0 ? $item->discount_rate . '%' : '-' }} | {{ number_format($item->subtotal, 2) }} | {{ $item->ta_rate }}% ({{ number_format($item->ta_amount, 2) }}) | {{ number_format($item->total, 2) }} |
| المبلغ قبل الضريبة: | {{ number_format($einvoice->subtotal, 2) }} ريال |
| مبلغ الخصم: | {{ number_format($einvoice->discount_amount, 2) }} ريال |
| مبلغ الضريبة: | {{ number_format($einvoice->ta_amount, 2) }} ريال |
| المبلغ الإجمالي: | {{ number_format($einvoice->total_amount, 2) }} ريال |
{{ $einvoice->notes }}