@extends('layouts.admin') @section('title', 'Manage Invoices') @section('page_heading', 'Manage Invoices') @section('page_actions') Create Invoice @endsection @section('content')
| Invoice | Client | Amount | Due Date | Status | Actions |
|---|---|---|---|---|---|
| {{ $invoice->invoice_number ?? 'INV-PENDING' }} |
{{ $invoice->name }}
{{ $invoice->email }}
|
{{ $invoice->amount !== null ? '$'.number_format((float) $invoice->amount, 2) : '-' }} | {{ $invoice->due_date?->format('M d, Y') ?? '-' }} | @if ($invoice->status === 'paid') Paid @else Unpaid @endif | @if ($invoice->status === 'paid') @else @endif Edit |
| No invoices found. | |||||