{{ $company->company_name_en }}
{{ $company->company_name_ar }}
@if($sale->invoice_type!=='non_tax_invoice')
VAT {{ $company->vat_number }}
@endif
{{ $sale->invoice_type==='non_tax_invoice'?'INVOICE':($sale->invoice_type==='simplified_tax_invoice'?'SIMPLIFIED TAX INVOICE':'TAX INVOICE') }}
{{ $sale->invoice_no }} · {{ $sale->invoice_timestamp->format('Y-m-d H:i') }}
{{ $sale->customer->name_en }}
{{ $sale->customer->name_ar }}
@foreach($sale->items as $item)@endforeach
ItemQty × PriceTotal
{{ $item->product_name_en_snapshot }}{{ $item->product_name_ar_snapshot }}{{ number_format((float)$item->quantity,2) }} × {{ number_format((float)$item->unit_price,2) }}{{ number_format((float)$item->line_total,2) }}
{{ $sale->invoice_type==='non_tax_invoice'?'Subtotal':'Taxable' }}{{ number_format((float)$sale->taxable_total,2) }}
@if($sale->invoice_type!=='non_tax_invoice')
VAT{{ number_format((float)$sale->vat_total,2) }}
@endif
TOTAL SAR{{ number_format((float)$sale->grand_total,2) }}
Payment{{ ucfirst($sale->payment_type) }}
@if($sale->invoice_type!=='non_tax_invoice')
{!! $qrSvg !!}
@endif
Thank you · شكراً لكم