diff --git a/views/admin/dashboard.php b/views/admin/dashboard.php new file mode 100644 index 0000000..82c796d --- /dev/null +++ b/views/admin/dashboard.php @@ -0,0 +1,79 @@ +
Store overview at a glance.
+No orders yet.
| Order | Customer | Status | Total |
|---|---|---|---|
| #= (int) $order['id'] ?> | += e($order['userEmail'] ?? 'Guest') ?> | += e($order['status']) ?> | += e(formatMoney((int) $order['totalCents'], $order['currency'])) ?> | +
Every product is well stocked.
| Product | Stock |
|---|---|
| = e($product['name']) ?> | ++ + = $stock ?> + | +