@if ($invoice['taxable'])

{{ __('pdf.tax_invoice') }}

@endif

{{ $invoice['header']['company_name'] }} - {{ $invoice['branch'] }}

@if ($invoice['address'] != null)

@foreach (explode(' ', $invoice['address']) as $word_index => $word) {{ $word . ' ' }} @if (($word_index % 3 == 0) & ($word_index != 0))
@endif @endforeach

@endif @if ($invoice['taxable']) @if ($invoice['trn'] != null)

TRN: {{ $invoice['trn'] }}

@endif @endif @if ($invoice['header']['invoice_header_slogan'] != null)

{{ $invoice['header']['invoice_header_slogan'] }}

@endif @if ($invoice['header']['display_order_number'] == 1)

{{ __('pdf.order_number') }}: {{ $invoice['order_number'] }}

@endif

{{ __('pdf.date') }}: {{ $invoice['date'] }}

{{ $invoice['order_type'] }}

{{ __('pdf.creator') }}: {{ $invoice['cashier'] }}

@foreach ($invoice['items'] as $item) @endforeach @isset($invoice['discount']) @endisset @if (!empty($invoice['additional_fees']) && $invoice['additional_fees'] > 0) @endif @if (!empty($invoice['mobile_delivery_fee'])) @endif @if ($invoice['taxable']) @endif
{{ __('pdf.qty') }} {{ __('pdf.name') }} {{ __('pdf.price') }}
{{ $item['qty'] }}
@foreach (explode(' ', $item['name']) as $word_index => $word) {{ $word . ' ' }} @if (($word_index % 3 == 0) & ($word_index != 0))
@endif @endforeach
{{ round($item['qty_price'], 2) }}
{{ __('pdf.price_before_vat') }} {{ round($invoice['net'], 2) }}
{{ __('pdf.discount') }} {{ round($invoice['discount'], 2) }}
{{ __('pdf.sub_total') }} {{ round($invoice['sub_total'], 2) }}
{{ __('pdf.additional_fees') }} {{ round($invoice['additional_fees'], 2) }}
{{ __('pdf.mobile_delivery_fee') }} {{ round($invoice['mobile_delivery_fee'], 2) }}
{{ __('pdf.vat') }} {{ round($invoice['vat'], 2) }}
{{ __('pdf.total') }} {{ round($invoice['total'], 2) }}
@if ($invoice['payment_type'])

{{ $invoice['payment_type'] }}

@endif

{{ __('pdf.items_count') }}: {{ $invoice['count_of_items'] }}

{{ __('pdf.end_of_invoice') }}

@if (isset($invoice['franchise_company_name']))

{{ $invoice['franchise_company_name'] }}

@endif @if ($invoice['footer']['invoice_footer_slogan'] != null)

{{ $invoice['footer']['invoice_footer_slogan'] }}

@endif

ياسمين الشام

Powered By PythonX