'warning',
'processing' => 'info',
'shipped' => 'primary',
'delivered' => 'success',
'cancelled' => 'danger'
];
$color = $status_colors[$order['order_status']] ?? 'secondary';
?>
Order #
= htmlspecialchars($order['order_number']) ?>
Date
= date('M d, Y', strtotime($order['created_at'])) ?>
Total
= format_currency($order['total']) ?>
Status
= ucfirst($order['order_status']) ?>
Payment
= $order['payment_status'] ?>
No orders yet
Start shopping and your orders will appear here
Start Shopping