{{ $document->reference_number }}

{{ $document->type }} ยท {{ ucfirst($document->status) }}

Download PDF

Customer

{{ $document->customer_data['customer_name'] }}

{{ $document->customer_data['company_name'] ?? '' }}

{{ $document->customer_data['contact_person'] ?? '' }}

{{ $document->customer_data['email'] ?? '' }}

{{ $document->customer_data['phone'] ?? '' }}

Document Details

Issue Date: {{ $document->issue_date }}

Due Date: {{ $document->due_date ?? 'N/A' }}

Currency: {{ $document->currency }}

VAT Rate: {{ $document->vat_rate }}%

Items

@foreach($document->items as $item) @endforeach
Item Qty Unit Unit Price Total
{{ $item->product_name }} {{ number_format($item->quantity, 2) }} {{ $item->unit }} AED {{ number_format($item->unit_price, 2) }} AED {{ number_format($item->line_total, 2) }}

Notes

{{ $document->notes ?? 'No notes provided.' }}

Subtotal
AED {{ number_format($document->subtotal, 2) }}
VAT
AED {{ number_format($document->vat_amount, 2) }}
Grand Total
AED {{ number_format($document->grand_total, 2) }}