Period: {{ \Carbon\Carbon::parse($dateFrom)->format('M d, Y') }} to {{ \Carbon\Carbon::parse($dateTo)->format('M d, Y') }}
Generated on: {{ now()->format('M d, Y h:i A') }}
{{ number_format($stats['totalSales'] ?? 0, 2) }}
{{ $stats['totalInvoices'] ?? 0 }}
{{ $stats['paidInvoices'] ?? 0 }}
{{ $stats['unpaidInvoices'] ?? 0 }}
| # | Invoice Number | Customer | Date | Amount | Status |
|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ $invoice->invoice_number }} | {{ $invoice->customer->name ?? 'N/A' }} | {{ $invoice->issue_date->format('M d, Y') }} | {{ number_format($invoice->total, 2) }} | {{ ucfirst($invoice->status) }} |
| No sales data available | |||||