{{ \Carbon\Carbon::parse($start)->translatedFormat('d M Y') }} - {{ \Carbon\Carbon::parse($end)->translatedFormat('d M Y') }}
Total Penghasilan Bersih
Rp{{ number_format($totalIncome, 0, ',', '.') }}
{{ $orders->total() }} transaksi dibayar
| Invoice | Tanggal | Pelanggan | Produk | Items | Subtotal | Diskon | Ongkir | Total Bersih | Metode |
|---|---|---|---|---|---|---|---|---|---|
| {{ $order->invoice_number }} | {{ $order->paid_at?->translatedFormat('d M Y, H:i') }} | {{ $order->customer_name ?? '-' }} | @php $products = $order->items->pluck('product_name')->filter()->unique()->values(); $productsLabel = $products->isNotEmpty() ? \Illuminate\Support\Str::limit($products->join(', '), 80) : '-'; @endphp{{ $productsLabel }} | {{ $order->total_items }} | Rp{{ number_format($order->subtotal_amount, 0, ',', '.') }} | Rp{{ number_format($order->discount_amount ?? 0, 0, ',', '.') }} | Rp{{ number_format($order->shipping_cost ?? 0, 0, ',', '.') }} | Rp{{ number_format($order->net_income, 0, ',', '.') }} | {{ strtoupper($order->payment_method) }} |
| Belum ada transaksi dibayar di periode ini. | |||||||||