Generated on {{ now()->format('M d, Y \a\t g:i A') }}
Total Invoices: {{ $invoices->count() }}
Invoice # | Date | Due Date | Status | Customer | Subtotal | Tax | Total |
---|---|---|---|---|---|---|---|
{{ $invoice->invoice_number }} | {{ $invoice->created_at->format('M d, Y') }} | {{ $invoice->due_date ? $invoice->due_date->format('M d, Y') : 'N/A' }} | {{ ucfirst($invoice->status) }} | {{ $invoice->billing_name }} | ${{ number_format($invoice->subtotal, 2) }} | ${{ number_format($invoice->tax_amount, 2) }} | ${{ number_format($invoice->total_amount, 2) }} |
TOTALS | ${{ number_format($invoices->sum('subtotal'), 2) }} | ${{ number_format($invoices->sum('tax_amount'), 2) }} | ${{ number_format($invoices->sum('total_amount'), 2) }} |