| رقم الفاتورة Invoice Number |
{{ optional($invoice_data->fatoorah)->fatoorah_seq ?? '-' }} | تاريخ الإصدار Invoice Issue Date & Time |
{{ $invoice_data->created_at ?? '-' }} |
|---|---|---|---|
| تاريخ الطباعة Printed Date & Time |
{{ now()->format('Y-m-d H:i:s') }} | تاريخ التوريد Date of Supply |
{{ $invoice_data->start_date ?? '-' }} |
| طريقة الدفع Payment Method |
{{ $invoice_data->payment_types_id == -1 ? trans('admin.receivable') : ($invoice_data->payment_types_id == -2 ? trans('admin.multi_payment') : optional($invoice_data->payment_type)->{'account_name_' . trans('admin.lang')}) }} | ||
| البائع - Seller | العميل - Buyer | |
|---|---|---|
| {!! $merchant->company_name_ar . ' ' . $merchant->company_name_en !!} |
{!! $invoice_data->customer->customer_name_ar . ' ' . $invoice_data->customer->customer_name_en !!} |
الاسم - Name |
| {{ trim(($merchant->country_ar ?? '') . ' ' . ($merchant->country_en ?? '')) ?: '-' }} | {{ trim(($invoice_data->customer->country_ar ?? '') . ' ' . ($invoice_data->customer->country_en ?? '')) ?: '-' }} | الدولة - Country |
| {{ trim(($merchant->city_ar ?? '') . ' ' . ($merchant->city_en ?? '')) ?: '-' }} | {{ trim(($invoice_data->customer->city_ar ?? '') . ' ' . ($invoice_data->customer->city_en ?? '')) ?: '-' }} | المدينة - City |
| {{ $merchant->vat_register ?: '-' }} | {{ $invoice_data->customer->vat_number ?: '-' }} | الرقم الضريبي - TAX |
| # | تفاصيل السلع أو الخدمات Nature Of Goods Or Service |
الوحدة Unit |
الكمية Quantity |
|---|---|---|---|
| {{ $loop->iteration }} |
{{ $item->store_items ? $item->store_items->item->item_name_ar : '---' }}
{{ $item->store_items ? $item->store_items->item->item_name_en : '---' }} |
{{ $item->store_items ? ($item->unit_id == $item->store_items->item->unit->id ? $item->store_items->item->unit->unit_name_ar : \App\Models\Units::where('id', $item->unit_id)->value('unit_name_ar')) : '---' }}
{{ $item->store_items ? ($item->unit_id == $item->store_items->item->unit->id ? $item->store_items->item->unit->unit_name_en : \App\Models\Units::where('id', $item->unit_id)->value('unit_name_en')) : '---' }} |
{{ \App\Helpers\Helpers::formatNumber($item->qty, 'qty') }} |
| {!! $merchant->invoice_footer !!} |