@extends('layouts.app') @section('title', 'Invoices & Receipts') @push('styles') @endpush @section('content')
| Invoice # | Date | Description | Amount | Status | Actions |
|---|---|---|---|---|---|
| {{ $invoice->invoice_number }} | {{ $invoice->created_at?->format('M d, Y') }} | {{ $invoice->description }} | {{ $invoice->formatted_amount ?? '---' }} | @php $statusClass = match($invoice->status) { 'paid', 'completed' => 'badge-success', 'pending' => 'badge-warning', 'refunded', 'cancelled' => 'badge-danger', default => 'badge-warning' }; @endphp {{ ucfirst($invoice->status) }} |
Your invoices and receipts will appear here once you make transactions.