| العميل: {{ $quotation->customer?->name_ar }} | التاريخ: {{ $quotation->quotation_date?->format('Y-m-d') }} | الصلاحية: {{ $quotation->valid_until_date?->format('Y-m-d') ?? '-' }} |
| المخزن: {{ $quotation->warehouse?->name_ar ?? '-' }} | الحالة: {{ $quotation->status_label }} | أنشئ بواسطة: {{ $quotation->creator?->name ?? '-' }} |
| # | البيان | النوع | الوحدة | الكمية | سعر الوحدة | الخصم | الإجمالي |
|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $item->description_ar }} | {{ $item->line_type === 'service' ? 'خدمة' : 'صنف' }} | {{ $item->unit?->name_ar ?? '-' }} | {{ number_format((float) $item->quantity, 2) }} | {{ number_format((float) $item->unit_price, 2) }} | {{ number_format((float) $item->discount_amount, 2) }} | {{ number_format((float) $item->line_total, 2) }} |
| الإجمالي قبل الخصم | {{ number_format((float) $quotation->subtotal_before_discount, 2) }} |
|---|---|
| الخصم | {{ number_format((float) $quotation->discount_amount, 2) }} |
| الضريبة | {{ number_format((float) $quotation->tax_amount, 2) }} |
| الإجمالي النهائي | {{ number_format((float) $quotation->grand_total, 2) }} |