@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

الفلاتر

اختر الفرع والفترة
مسح CSV PDF
الصافي بعد الضريبة
{{ number_format($netTotal ?? 0, 2) }}
صافي الضريبة
{{ number_format($netVat ?? 0, 2) }}
الفترة
{{ $from }} → {{ $to }}
الفرع
{{ (int)$branchId ? 'محدد' : 'كل الفروع' }}

ملخص الأقسام

قبل الضريبة / الضريبة / بعد الضريبة
القسم قبل الضريبة الضريبة بعد الضريبة
المبيعات {{ number_format($sales['subtotal'] ?? 0, 2) }} {{ number_format($sales['vat'] ?? 0, 2) }} {{ number_format($sales['total'] ?? 0, 2) }}
المشتريات {{ number_format($purchases['subtotal'] ?? 0, 2) }} {{ number_format($purchases['vat'] ?? 0, 2) }} {{ number_format($purchases['total'] ?? 0, 2) }}
المصروفات {{ number_format($expenses['subtotal'] ?? 0, 2) }} {{ number_format($expenses['vat'] ?? 0, 2) }} {{ number_format($expenses['total'] ?? 0, 2) }}
الصافي (مبيعات - مشتريات - مصروفات) {{ number_format($netVat ?? 0, 2) }} {{ number_format($netTotal ?? 0, 2) }}