- Implemented the full order lifecycle, secure customer tracker, automatic acceptance emails, configurable status templates, and guest/account CRM management.
Key areas: [OrderStatusService.php](/Users/tyemeclifford/Documents/GH/fatbottomgrille/app/Services/OrderStatusService.php), [AdminController.php](/Users/tyemeclifford/Documents/GH/fatbottomgrille/app/Controllers/AdminController.php), and [Database.php](/Users/tyemeclifford/Documents/GH/fatbottomgrille/app/Core/Database.php). SQLite migration applied successfully. PHP/JS syntax, integration workflows, rendered pages, database integrity, and tracker authorization all passed. Invalid tracker tokens correctly return 403.
This commit is contained in:
@@ -86,10 +86,10 @@
|
||||
<?php foreach ($orders as $order): ?>
|
||||
<article>
|
||||
<div>
|
||||
<strong><?= e($order['order_number']) ?></strong>
|
||||
<a href="<?= e(url('/order/track')) ?>?order=<?= e(rawurlencode((string) $order['order_number'])) ?>"><strong><?= e($order['order_number']) ?></strong></a>
|
||||
<span><?= e(store_datetime((string) $order['placed_at'])) ?></span>
|
||||
</div>
|
||||
<span class="status-pill status-<?= e($order['status']) ?>"><?= e(ucwords(str_replace('_', ' ', (string) $order['status']))) ?></span>
|
||||
<span class="status-pill status-<?= e($order['status']) ?>"><?= e(order_status_label((string) $order['status'])) ?></span>
|
||||
<strong><?= money($order['total_cents']) ?></strong>
|
||||
</article>
|
||||
<?php endforeach; ?>
|
||||
|
||||
Reference in New Issue
Block a user