@extends('layouts.client') @section('title', 'Invoices') @section('content')
View and manage your invoices
Total Invoices
{{ $stats['total'] ?? 0 }}
Pending
{{ $stats['pending'] ?? 0 }}
Paid
{{ $stats['paid'] ?? 0 }}
Overdue
{{ $stats['overdue'] ?? 0 }}
| Invoice | Date | Due Date | Amount | Status | Actions |
|---|---|---|---|---|---|
|
{{ $invoice->invoice_number }}
{{ $invoice->description ?? 'No description' }}
|
{{ $invoice->created_at->format('M d, Y') }} | {{ $invoice->due_date ? $invoice->due_date->format('M d, Y') : 'N/A' }} | ${{ number_format($invoice->total_amount, 2) }} | {{ ucfirst($invoice->status) }} | |
No invoices foundYour invoices will appear here when they are created |
|||||