Welcome, {{ $customer->name }}!

{{ $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() }}

Recent Invoices

View All →
@forelse($invoices->take(5) as $invoice) @empty @endforelse
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

Recent Orders

View All →
@forelse($orders->take(5) as $order) @empty @endforelse
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