@if ($type == 'invoice')
{{ $system_settings->right_side }} {{ $system_settings->leftt_side }}

{{ $invoice_data->report_type->name_ar }}

{{ $invoice_data->report_type->name_en }}

@elseif($type == 'debitnote')
{{ $system_settings->right_side }} {{ $system_settings->leftt_side }}

إشعار مدين

Debit Note

تعديل أسعار - Price Adjustment

@elseif($type == 'creditnote')
{{ $system_settings->right_side }} {{ $system_settings->leftt_side }}

إشعار دائن

Credit Note

تعديل أسعار - Price Adjustment

@endif
@if (isset($order) && $order == 1) @else @endif @if ($invoice_data->customer->supplier_number != '') @endif
رقم عرض السعر {{ isset($invoice_data->id) != null ? $invoice_data->id : '-' }} Sales Quotation Number
رقم الفاتورة {{ isset($invoice_data->fatoorah) != null ? $invoice_data->fatoorah->fatoorah_seq : '-' }} Invoice Number
تاريخ و وقت اصدار الفاتورة {{ $invoice_data->created_at }} Invoice Issue Date & Time
تاريخ و وقت طباعة الفاتورة {{ date('H:i:s') . " " . date('Y-m-d') }} Invoice Printed Date & Time
تاريخ الخدمة {{ $invoice_data->start_date . ' To ' . $invoice_data->end_date }} Service Date
طريقة الدفع {{ $invoice_data->payment_types_id == -1 ? trans('admin.receivable') : ($invoice_data->payment_types_id == -2 ? trans('admin.multi_payment') : $invoice_data->payment_type->{'account_name_' . trans('admin.lang')}) }} Payment Method
رقم المورد {{ $invoice_data->customer->supplier_number }} Vendor Number
@if ($merchant->building_no != '' || $invoice_data->customer->building_no != '') @endif @if ( $merchant->country_ar != '' || $merchant->country_en != '' || $invoice_data->customer->country_ar != '' || $invoice_data->customer->country_en != '') @endif @if ( $merchant->city_ar != '' || $merchant->city_en != '' || $invoice_data->customer->city_ar != '' || $invoice_data->customer->city_en != '') @endif @if ( $merchant->street_name_ar != '' || $merchant->street_name_en != '' || $invoice_data->customer->street_name_ar != '' || $invoice_data->customer->street_name_en != '') @endif @if ( $merchant->district_ar != '' || $merchant->district_en != '' || $invoice_data->customer->district_ar != '' || $invoice_data->customer->district_en != '') @endif @if ( $merchant->branch_ar != '' || $merchant->branch_en != '' || $invoice_data->customer->branch_ar != '' || $invoice_data->customer->branch_en != '') @endif @if ($merchant->postal_code != '' || $invoice_data->customer->postal_code != '') @endif @if ($merchant->additional_address != '' && $invoice_data->customer->additional_number != '') @endif @if ($merchant->vat_register != '' || $invoice_data->customer->vat_number != '') @endif @if (isset($invoice_data->referance_no) && isset($invoice_data->referance_no_c)) @endif @if ($merchant->anotherid != '' || $invoice_data->customer->anotherid != '') @endif @foreach ($merchant->extra as $extra) @if ($invoice_data->customer->extra) @foreach ($invoice_data->customer->extra as $c_extra) @if ($c_extra->identify_kind == $extra->identify_kind) @endif @endforeach @endif @endforeach
التاجر - Seller العميل - Buyer  
{!! $merchant->company_name_ar . '
' . $merchant->company_name_en !!}
{!! $invoice_data->customer->customer_name_ar . '
' . $invoice_data->customer->customer_name_en !!}
Company Name
اسم الشركة
{{ $merchant->building_no }} {{ $invoice_data->customer->building_no }} رقم المبني - Building No
{{ $merchant->country_ar . ' ' . $merchant->country_en }} {{ $invoice_data->customer->country_ar . ' ' . $invoice_data->customer->country_en }} الدولة - Country
{{ $merchant->city_ar . ' ' . $merchant->city_en }} {{ $invoice_data->customer->city_ar . ' ' . $invoice_data->customer->city_en }} المدينة - City
{{ $merchant->street_name_ar . ' ' . $merchant->street_name_en }} {{ $invoice_data->customer->street_name_ar . ' ' . $invoice_data->customer->street_name_en }} الشارع - Street
{{ $merchant->district_ar . ' ' . $merchant->district_en }} {{ $invoice_data->customer->district_ar . ' ' . $invoice_data->customer->district_en }} الحي - District
{{ $merchant->branch_ar . ' ' . $merchant->branch_en }} {{ $invoice_data->customer->branch_ar . ' ' . $invoice_data->customer->branch_en }} الفرع - Branch
{{ $merchant->postal_code }} {{ $invoice_data->customer->postal_code }} الرمز البريدي - Postal Code
{{ $merchant->additional_address }} {{ $invoice_data->customer->additional_number }} الرقم الاضافي - Additional No.
{{ $merchant->vat_register }} {{ $invoice_data->customer->vat_number }} #الرقم الضريبي - VAT
{{ $invoice_data->referance_no }} {{ $invoice_data->referance_no_c }} الرقم المرجعي - Reference No
{{ $merchant->anotherid }} {{ $invoice_data->customer->anotherid }} السجل التجاري - CR Number
{{ $c_extra->identify_no }} {{ $c_extra->identify_type }}
{{ $extra->identify_no }}   {{ $extra->identify_type }}
@if($type == 'debitnote' || $type == 'creditnote')

This Credit note relates to invoice number ( {{ $invoice_data->fatoorah?$invoice_data->fatoorah->id:0 }} - {{ $invoice_data->invoice_sale->report_type->name_en}} ), issued on {{ $invoice_data->invoice_sale->invoice_date }}
هذا الاشعارالدائن يتعلق بالفاتورة رقم ( {{ $invoice_data->fatoorah?$invoice_data->fatoorah->id:0 }} - {{ $invoice_data->invoice_sale->report_type->name_ar}} ) الصادرة بتاريخ {{ $invoice_data->invoice_sale->invoice_date}} ) @if ($invoice_data->reason)
@lang('admin.reason') {{ $invoice_data->reason->{'title_' . trans('admin.lang')} }} @endif

@endif @foreach ($invoice_details as $item) @endforeach
# Nature Of Goods Or Service
تفاصيل السلع او الخدمات
Unit
الوحدة
Unit Price {{ $system_settings->currency->country_iso }}
سعر الوحدة
VAT %
الضريبة
Quantity
الكمية
Discount
الخصومات
VAT Amount
مبلغ الضريبة
Item Subtotal(Including VAT)
المجموع شامل الضريبة
{{ $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')) : '----' }}
{{ $item->rate }} {{ $item->tax * 100 }} % {{ $item->qty }} {{ $discount_per_item }} {{ Helpers::formatNumber($tax_value,$system_settings->system_digit) }} {{ Helpers::formatNumber($lastTotal,$system_settings->system_digit) }}
@if ($invoice_data->retention_value > 0) @endif {{ $total_in = $totalAllInvoices - ($total_without_vat * $invoice_data->retention_value) / 100; }}
Total Before Discount المجموع قبل الخصومات {{ Helpers::formatNumber($total_items,$system_settings->system_digit) }} {{ $system_settings->currency->country_iso }}
Total Discount مجموع الخصومات {{ Helpers::formatNumber($total_discount,$system_settings->system_digit) }} {{ $system_settings->currency->country_iso }}
Total -Excluding VAT الاجمالي غير شامل ضريبة القيمة المضافة {{ Helpers::formatNumber($total_without_vat,$system_settings->system_digit) }} {{ $system_settings->currency->country_iso }}
Total Retention Amount {{ $invoice_data->retention_value }}% الاجمالي للمبلغ المحجوز {{ $invoice_data->retention_value }}% {{ Helpers::formatNumber(($total_without_vat * $invoice_data->retention_value) / 100,$system_settings->system_digit) }} {{ $system_settings->currency->country_iso }}
Total Taxable-Excluding VAT الاجمالي الخاضع للضريبة(غير شامل قيمةالضريبةالمضافة) {{ Helpers::formatNumber($total_without_vat,$system_settings->system_digit) }} {{ $system_settings->currency->country_iso }}
Total VAT مجموع قيمة الضريبة المضافة {{ Helpers::formatNumber($Total_VAT,$system_settings->system_digit) }} {{ $system_settings->currency->country_iso }}
Total Amount Including VAT اجمالي المبلغ مع الضريبة {{ Helpers::formatNumber($totalAllInvoices,$system_settings->system_digit) }} {{ $system_settings->currency->country_iso }}
Total Amount Due-Including VAT اجمالي المبلغ المستحق بعد الضريبة {{ Helpers::formatNumber($total_in,$system_settings->system_digit) }} {{ $system_settings->currency->country_iso }}
Balance Due In Words الرصيد المستحق
@php $num = explode('.',Helpers::formatNumber($total_in,$system_settings->system_digit),); $num[0] = (int) str_replace(',', '', $num[0]); if (sizeof($num) > 0 && $num[0] > 0) { echo Helpers::convertNumberToWord($num[0]) .' ' . $system_settings->currency->currency_en; } if (sizeof($num) > 0 && $num[0] > 0 && sizeof($num) > 1 && $num[1] > 0) { echo ' and'; } if (sizeof($num) > 1 && $num[1] > 0) { echo Helpers::convertNumberToWord($num[1]) . ' ' . $system_settings->currency->sub_currency_en; } echo ' Only'; @endphp {{ Helpers::tafqeet_arabic(Helpers::formatNumber($total_in,$system_settings->system_digit),$system_settings->currency->currency_iso) }}
@if ($merchant->note != '' || $invoice_data->note != '')

{{ __('admin.notes') }}: {!! $merchant->note !!} {!! $invoice_data->note !!}

@endif