@php $activeTab = 'all'; if (\Illuminate\Support\Facades\Route::currentRouteNamed('dashboard.reports.expenses')) $activeTab = 'expenses'; if (\Illuminate\Support\Facades\Route::currentRouteNamed('dashboard.reports.sales')) $activeTab = 'sales'; if (\Illuminate\Support\Facades\Route::currentRouteNamed('dashboard.reports.purchases')) $activeTab = 'purchases'; @endphp
@if(!empty($notes) && count($notes) > 0)
ملاحظات تقنية:
@endif

الفلاتر

اختر الفرع والفترة
مسح تصدير Excel طباعة / حفظ PDF
الصافي النهائي قبل الضريبة
{{ number_format($netBefore ?? 0, 2) }}
قيمة الضريبة
{{ number_format($netVat ?? 0, 2) }}
الإجمالي النهائي شامل الضريبة
{{ number_format($netTotal ?? 0, 2) }}
الفترة
{{ $from }} → {{ $to }}
الفرع
@if(!empty($selectedBranch)) {{ $selectedBranch->branch_no }} - {{ $selectedBranch->name }} @else كل الفروع @endif

التقرير الشامل

قبل الضريبة / قيمة الضريبة / الإجمالي شامل الضريبة
@foreach($tableRows as $r) @endforeach
القسم قبل الضريبة قيمة الضريبة الإجمالي شامل الضريبة
{{ number_format((float)($r['subtotal'] ?? 0), 2) }} {{ number_format((float)($r['vat'] ?? 0), 2) }} {{ number_format((float)($r['total'] ?? 0), 2) }}