💰 Invoice Management

Total Invoices

{{ $stats['total'] ?? 0 }}

Paid

{{ $stats['paid'] ?? 0 }}

Pending

{{ $stats['pending'] ?? 0 }}

Overdue

{{ $stats['overdue'] ?? 0 }}

Recent Invoices

@if($invoices->count() > 0)
@foreach($invoices as $invoice) @endforeach
Invoice # Client Amount Status Due Date Actions
{{ $invoice->invoice_number }}
{{ $invoice->client->name ?? 'N/A' }}
{{ $invoice->currency ?? 'USD' }} {{ number_format($invoice->total_amount ?? 0, 2) }}
@php $status = $invoice->status ?? 'pending'; $statusColors = [ 'paid' => 'bg-green-100 text-green-800', 'pending' => 'bg-yellow-100 text-yellow-800', 'overdue' => 'bg-red-100 text-red-800', 'cancelled' => 'bg-gray-100 text-gray-800' ]; @endphp {{ ucfirst($status) }}
{{ $invoice->due_date?->format('M d, Y') ?? 'N/A' }}
{{ $invoices->links() }}
@else

No Invoices Found

Start by creating your first invoice.

Create Invoice
@endif