prepare($query); $stmt->execute($params); $invoices = $stmt->fetchAll(); $msg = $_GET['msg'] ?? ''; $error = $_GET['error'] ?? ''; ?>
| Invoice # | Customer | Date | Due Date | Status | Total | Actions |
|---|---|---|---|---|---|---|
| No invoices found. | ||||||
| = e($i['invoice_number']) ?> |
= e($i['customer_name']) ?>
= e($i['customer_email']) ?>
|
= date('M d, Y', strtotime($i['issue_date'])) ?> | = date('M d, Y', strtotime($i['due_date'])) ?> | = $i['status'] ?> | = format_currency($i['total_amount']) ?> | |