- | #= $order['id'] ?> |
+ #= $order['id'] ?> |
@@ -145,7 +148,7 @@ include 'includes/header.php';
|
- = htmlspecialchars($order['customer_name']) ?>
+ = htmlspecialchars($order['customer_name']) ?>
= htmlspecialchars($order['customer_phone']) ?>
@@ -173,7 +176,22 @@ include 'includes/header.php';
|
= htmlspecialchars($order['items_summary']) ?> |
- = format_currency($order['total_amount']) ?> |
+ = format_currency($order['total_amount']) ?> |
+
+ 'bg-success',
+ 'credit card' => 'bg-primary',
+ 'loyalty redeem' => 'bg-warning',
+ 'unpaid' => 'bg-secondary',
+ default => 'bg-secondary'
+ };
+ ?>
+
+ = htmlspecialchars($payment_name) ?>
+
+ |
= ucfirst($order['status']) ?>
@@ -187,10 +205,6 @@ include 'includes/header.php';
|