'PO-001', 'style' => 'Men's Classic Tee', 'quantity' => 500, 'delivery_date' => '2025-07-15', 'status' => 'Completed'],
['id' => 'PO-002', 'style' => 'Women's Denim Jacket', 'quantity' => 350, 'delivery_date' => '2025-07-20', 'status' => 'In Progress'],
['id' => 'PO-003', 'style' => 'Men's Chino Pants', 'quantity' => 400, 'delivery_date' => '2025-07-22', 'status' => 'In Progress'],
['id' => 'PO-004', 'style' => 'Women's Summer Dress', 'quantity' => 280, 'delivery_date' => '2025-07-25', 'status' => 'Pending'],
['id' => 'PO-005', 'style' => 'Men's Hoodie', 'quantity' => 600, 'delivery_date' => '2025-07-18', 'status' => 'Delayed'],
];
function getStatusBadgeClass($status) {
switch ($status) {
case 'Completed': return 'bg-success';
case 'In Progress': return 'bg-primary';
case 'Pending': return 'bg-warning text-dark';
case 'Delayed': return 'bg-danger';
default: return 'bg-secondary';
}
}
?>
= htmlspecialchars($_SERVER['PROJECT_NAME'] ?? 'Production Planning System') ?>
Order Dashboard
| Order ID |
Style / Product |
Quantity |
Delivery Date |
Status |
Actions |
| = htmlspecialchars($order['id']) ?> |
= htmlspecialchars($order['style']) ?> |
= htmlspecialchars($order['quantity']) ?> |
= htmlspecialchars($order['delivery_date']) ?> |
= htmlspecialchars($order['status']) ?>
|
|