- 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:
@@ -1,7 +1,7 @@
|
||||
<section class="confirmation-section section">
|
||||
<div class="container confirmation-card">
|
||||
<div class="confirmation-mark">✓</div>
|
||||
<span class="eyebrow">Paid and sent to the kitchen</span>
|
||||
<span class="eyebrow">Paid and awaiting acceptance</span>
|
||||
<h1>We’ve got it, <?= e(explode(' ', (string) $order['customer_name'])[0]) ?>.</h1>
|
||||
<p>Your order number is <strong><?= e($order['order_number']) ?></strong>. We sent a confirmation to <?= e($order['customer_email']) ?>.</p>
|
||||
<div class="confirmation-details">
|
||||
@@ -15,7 +15,8 @@
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<div class="confirmation-actions">
|
||||
<a class="button" href="<?= e(url('/menu')) ?>">Order Something Else</a>
|
||||
<a class="button" href="<?= e($trackingUrl) ?>">Track This Order</a>
|
||||
<a class="button button-outline" href="<?= e(url('/menu')) ?>">Order Something Else</a>
|
||||
<?php if ($currentUser): ?><a class="button button-outline" href="<?= e(url('/account')) ?>">View My Orders</a><?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user