@php use App\Support\PdfArabic; @endphp
{{ PdfArabic::glyphs('عرض سعر') }}
{{ PdfArabic::glyphs($company?->name ?? config('app.name')) }}
{{ PdfArabic::glyphs('الرقم الضريبي:') }} {{ $company && $company->tax_number ? $company->tax_number : '—' }}
| {{ PdfArabic::glyphs('العميل:') }} {{ PdfArabic::glyphsIfArabic($quotation->customer?->display_name ?? '—') }} | {{ PdfArabic::glyphs('رقم العرض:') }} {{ $qnum }} |
| {{ PdfArabic::glyphs('صالح حتى:') }} {{ $quotation->valid_until?->format('Y-m-d') ?? '—' }} | {{ PdfArabic::glyphs('تاريخ العرض:') }} {{ $quotation->date?->format('Y-m-d') ?? '—' }} |
| {{ PdfArabic::glyphs('إجمالي البند') }} | {{ PdfArabic::glyphs('الضريبة %') }} | {{ PdfArabic::glyphs('الخصم %') }} | {{ PdfArabic::glyphs('سعر الوحدة') }} | {{ PdfArabic::glyphs('الكمية') }} | {{ PdfArabic::glyphs('المنتج') }} | # |
|---|---|---|---|---|---|---|
| {{ erp_money((float) $line->line_total) }} | {{ erp_qty((float) $line->tax_percent) }} | {{ erp_qty((float) $line->discount_percent) }} | {{ erp_money((float) $line->unit_price) }} | {{ erp_qty((float) $line->quantity) }} | {{ PdfArabic::glyphsIfArabic($line->item?->name_ar ?? $line->item?->code ?? '—') }} | {{ $idx + 1 }} |
{{ PdfArabic::glyphs('مسح الرمز للتحقق من صحة المستند') }}