| العميل: {{ $invoice->user?->name }} | الطلب: {{ $invoice->order?->order_number ?? '—' }} |
| البريد: {{ $invoice->user?->email }} | تاريخ الاستحقاق: {{ $invoice->due_at?->format('d/m/Y') ?? '—' }} |
| الوصف | الكمية | السعر | الإجمالي |
|---|---|---|---|
| {{ $item->description }} | {{ $item->quantity }} | {{ number_format((float) $item->unit_price, 2) }} | {{ number_format((float) $item->line_total, 2) }} |
| المجموع الفرعي: | {{ number_format((float) $invoice->subtotal, 2) }} |
| الخصم: | -{{ number_format((float) $invoice->discount_amount, 2) }} |
| ضريبة ({{ (float) $invoice->vat_rate }}%): | {{ number_format((float) $invoice->vat_amount, 2) }} |
| الإجمالي النهائي: | {{ number_format((float) $invoice->total, 2) }} {{ $invoice->currency }} |