@extends('layouts.dashboard') @section('title', 'Invoices') @section('page-title', 'Invoices') @section('content')
| # | User | Package | Amount | Status | Due | Actions |
|---|---|---|---|---|---|---|
| {{ $inv->invoice_number }} | {{ $inv->user->name ?? '—' }} | {{ $inv->package->name ?? '—' }} | ${{ number_format($inv->amount, 2) }} | {{ ucfirst($inv->status) }} | {{ $inv->due_date?->format('M d, Y') ?? '—' }} | @if($inv->isUnpaid()) @else @endif |
| No invoices. | ||||||