{{ $document->type }} ยท {{ ucfirst($document->status) }}
{{ $document->customer_data['customer_name'] }}
{{ $document->customer_data['company_name'] ?? '' }}
{{ $document->customer_data['contact_person'] ?? '' }}
{{ $document->customer_data['email'] ?? '' }}
{{ $document->customer_data['phone'] ?? '' }}
Issue Date: {{ $document->issue_date }}
Due Date: {{ $document->due_date ?? 'N/A' }}
Currency: {{ $document->currency }}
VAT Rate: {{ $document->vat_rate }}%
| 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) }} |
{{ $document->notes ?? 'No notes provided.' }}