Invoices

query('SELECT invoices.*, customers.name AS customer_name FROM invoices LEFT JOIN customers ON invoices.customer_id = customers.id ORDER BY invoices.created_at DESC'); $invoices = $stmt->fetchAll(PDO::FETCH_ASSOC); $status_colors = [ 'Paid' => 'success', 'Pending' => 'warning', 'Overdue' => 'danger', ]; ?>
Invoice # Customer Amount Status Due Date Created Action

No Invoices Found

There are no invoices to display yet.

# $