تقرير المصروفات
الفترة: {{ $from }} → {{ $to }} | الفرع: {{ (int)$branchId ? $selectedBranchLabel : 'كل الفروع' }}
{{ now()->format('Y-m-d H:i') }}
القسم الرئيسي
القسم الفرعي
قبل الضريبة
الضريبة
الإجمالي
@foreach($rows as $r)
{{ $r->category_name }}
{{ $r->subcategory_name }}
{{ number_format($r->subtotal, 2) }}
{{ number_format($r->vat_amount, 2) }}
{{ number_format($r->total, 2) }}
@endforeach
الإجمالي قبل الضريبة
{{ number_format($totals->subtotal ?? 0, 2) }}
إجمالي الضريبة
{{ number_format($totals->vat_amount ?? 0, 2) }}
الإجمالي بعد الضريبة
{{ number_format($totals->total ?? 0, 2) }}