@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

الفلاتر

فلترة حسب الفرع / التصنيفات / التاريخ / رقم الفاتورة
مسح CSV PDF
عدد الفواتير
{{ (int)($totals->invoices_count ?? 0) }}
قبل الضريبة
{{ number_format((float)($totals->subtotal ?? 0), 2) }}
الضريبة
{{ number_format((float)($totals->vat_amount ?? 0), 2) }}
الإجمالي
{{ number_format((float)($totals->total ?? 0), 2) }}
متوسط المصروف
{{ number_format((float)($totals->avg_total ?? 0), 2) }}

تجميع حسب المصروف الرئيسي

ملخص
@forelse($byCat as $r) @empty @endforelse
المصروف الرئيسي عدد الفواتير قبل الضريبة الضريبة الإجمالي
{{ $r->name }} {{ $r->invoices_count }} {{ number_format($r->subtotal,2) }} {{ number_format($r->vat_amount,2) }} {{ number_format($r->total,2) }}
لا توجد بيانات

تجميع حسب المصروف الفرعي

ملخص
@forelse($bySub as $r) @empty @endforelse
المصروف الرئيسي المصروف الفرعي عدد الفواتير قبل الضريبة الضريبة الإجمالي
{{ $r->category_name }} {{ $r->name }} {{ $r->invoices_count }} {{ number_format($r->subtotal,2) }} {{ number_format($r->vat_amount,2) }} {{ number_format($r->total,2) }}
لا توجد بيانات

تفاصيل فواتير المصروفات

تفاصيل
@forelse($rows as $r) @empty @endforelse
ID الفرع رقم تسلسلي رقم الفاتورة تاريخ رئيسي فرعي قبل الضريبة الضريبة الإجمالي ملاحظات
{{ $r->id }} {{ $r->branch_no }} - {{ $r->branch_name }} {{ $r->inv_no_branch }} {{ $r->bill_no }} {{ $r->bill_date }} {{ $r->category_name }} {{ $r->subcategory_name }} {{ number_format($r->subtotal,2) }} {{ number_format($r->vat_amount,2) }} {{ number_format($r->total,2) }} {{ $r->notes }}
لا توجد فواتير