{{ $customer->company ? $customer->company . ' • ' : '' }} {{ $customer->email }} • {{ $customer->phone }}
Total Invoices
{{ $invoices->count() }}
Unpaid Balance
KES {{ number_format($invoices->where('status', '!=', 'paid')->sum('balance'), 2) }}
Active Orders
{{ $orders->whereIn('production_status', ['queued', 'in_progress', 'qc'])->count() }}
| Invoice | Date | Amount | Status | Balance | Actions |
|---|---|---|---|---|---|
| {{ $invoice->invoice_number }} | {{ $invoice->created_at->format('M d, Y') }} | KES {{ number_format($invoice->total, 2) }} | {{ ucfirst($invoice->status) }} | KES {{ number_format($invoice->balance, 2) }} | @if($invoice->balance > 0) Pay @endif View |
| No invoices found | |||||
| Order | Date | Items | Status | Total | Actions |
|---|---|---|---|---|---|
| {{ $order->order_number }} | {{ $order->created_at->format('M d, Y') }} | {{ $order->items->sum('quantity') }} items | {{ ucfirst(str_replace('_', ' ', $order->production_status)) }} | KES {{ number_format($order->total_amount, 2) }} | View |
| No orders found | |||||