Total Transaksi
{{ number_format($data['summary']->total_orders ?? 0, 0) }}
@if($data['orderGrowth'] !== null){{ $data['orderGrowth'] >= 0 ? '+' : '' }}{{ $data['orderGrowth'] }}% vs periode lalu
@endifTotal Pendapatan
Rp {{ number_format($data['summary']->total_revenue ?? 0, 0, ',', '.') }}
@if($data['revenueGrowth'] !== null){{ $data['revenueGrowth'] >= 0 ? '+' : '' }}{{ $data['revenueGrowth'] }}% vs periode lalu
@endifTotal Modal
Rp {{ number_format($data['summary']->total_cost ?? 0, 0, ',', '.') }}
Total Laba
Rp {{ number_format($data['summary']->total_profit ?? 0, 0, ',', '.') }}
@if($data['profitGrowth'] !== null){{ $data['profitGrowth'] >= 0 ? '+' : '' }}{{ $data['profitGrowth'] }}% vs periode lalu
@endifMargin Laba
{{ $data['profitMargin'] }}%
Avg: Rp {{ number_format($data['summary']->avg_order ?? 0, 0, ',', '.') }}/order
Belum ada data penjualan
Belum ada data
@endforelse{{ $order->order_number }}
{{ $order->customer_name ?? 'Walk-in' }} | {{ $order->created_at->format('d M Y') }}
{{ $item->product_name }}
{{ number_format($item->total_qty, 0) }} terjual | {{ $item->order_count }}x transaksi
{{ $cust->customer_name ?? 'Walk-in' }}
{{ $cust->total_orders }} order