@extends('client.layouts.main') @section('title', 'My Invoices') @section('content')
| Invoice # | Date | Due Date | Total | Status | Actions |
|---|---|---|---|---|---|
| {{ $invoice->invoice_number }} | {{ $invoice->created_at->format('M d, Y') }} | {{ $invoice->due_date->format('M d, Y') }} | {{ number_format($invoice->total, 2) }} | @php $statusColors = [ 'paid' => 'success', 'unpaid' => 'warning', 'overdue' => 'danger', 'cancelled' => 'default', ]; @endphp {{ ucfirst($invoice->status) }} | View |
| No invoices found. | |||||