@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('التاريخ:') }} {{ $expense->date?->format('Y-m-d') ?? '—' }} | {{ PdfArabic::glyphs('رقم المصروف:') }} {{ $expense->expense_number ?? ('EXP-'.str_pad((string) $expense->id, 5, '0', STR_PAD_LEFT)) }} |
| {{ PdfArabic::glyphs('الحالة:') }} {{ PdfArabic::glyphs('معتمد') }} | {{ PdfArabic::glyphs('التصنيف:') }} {{ PdfArabic::glyphsIfArabic($categoryLabel) }} |
| @if($expense->reference) {{ PdfArabic::glyphs('المرجع:') }} {{ PdfArabic::glyphsIfArabic($expense->reference) }} @endif | {{ PdfArabic::glyphs('المورد:') }} {{ PdfArabic::glyphsIfArabic($supplierLabel) }} |
| {{ PdfArabic::glyphs('المرجع:') }} {{ PdfArabic::glyphsIfArabic($expense->reference) }} | |
| {{ PdfArabic::glyphs('المبلغ (ر.س)') }} | {{ PdfArabic::glyphs('البند') }} |
|---|---|
| {{ erp_money((float) $expense->amount) }} |
{{ PdfArabic::glyphs('المبلغ قبل الضريبة') }}
@if($expense->notes)
{{ PdfArabic::glyphsIfArabic($expense->notes) }}
@endif
|
| {{ erp_money($tax) }} | {{ PdfArabic::glyphs('الضريبة') }} |
| {{ erp_money($grand) }} | {{ PdfArabic::glyphs('الإجمالي') }} |