Executive Summary

Analisis kinerja penjualan, operasional, & kemitraan Bebek Mba Reina.

@if($filterDateRange === 'custom')
-
@endif
@php $periodLabel = match($filterDateRange) { 'today' => 'Hari Ini', 'yesterday' => 'Kemarin', 'this_week' => 'Minggu Ini', 'last_week' => 'Minggu Lalu', 'this_month' => 'Bulan Ini', 'last_month' => 'Bulan Lalu', 'this_year' => 'Tahun Ini', 'last_year' => 'Tahun Lalu', 'custom' => 'Custom', default => 'Periode', }; @endphp

Total Penjualan

Rp {{ number_format($omsetTotal, 0, ',', '.') }}

🗓️ {{ $periodLabel }}

Pengeluaran

Rp {{ number_format($expenseTotal, 0, ',', '.') }}

🗓️ {{ $periodLabel }}

Pembelian Stok

Rp {{ number_format($purchaseTotal, 0, ',', '.') }}

🗓️ {{ $periodLabel }}

Laba / Rugi Kotor

Rp {{ number_format($netProfit, 0, ',', '.') }}

🗓️ {{ $periodLabel }}

Cabang Terbaik

{{ $bestBranchName }}

Rp {{ number_format($bestBranchTotal, 0, ',', '.') }}

Trend Penjualan Harian

Grafik pergerakan total pendapatan kotor cabang terliput.

Transaksi Terakhir

5 riwayat POS penjualan terbaru.

@forelse($recentSales as $sale)
{{ $sale->invoice_number }} {{ $sale->branch->name ?? 'Global' }} • {{ $sale->customer->name ?? 'Umum' }}
Rp {{ number_format($sale->grand_total, 0, ',', '.') }}
@empty
📭 Belum ada transaksi direkam
@endforelse