b14f4c1796
New licensed lake, picnic, dining, server, burger, and food photography. Rebuilt homepage gallery, logo, colors, copy, menu, specials, and exports. Added dashboard-configurable branding in [settings.php (line 18)](/Users/tyemeclifford/Documents/GH/fatbottomgrille/views/admin/settings.php:18). Added a public attribution page and full [image credits](/Users/tyemeclifford/Documents/GH/fatbottomgrille/public/assets/images/CREDITS.md). Migrated existing SQLite menu data and admin email to admin@lakesideorders.test. Verified 51 PHP files, JSON/JavaScript, storefront pages, database migration, admin settings, and menu PDF. All passed.
24 lines
1.5 KiB
PHP
24 lines
1.5 KiB
PHP
<section class="confirmation-section section">
|
||
<div class="container confirmation-card">
|
||
<div class="confirmation-mark">✓</div>
|
||
<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">
|
||
<div><span>Pickup</span><strong><?= e($order['pickup_time'] ?: 'About ' . $config->get('ordering.pickup_eta_minutes', 25) . ' minutes') ?></strong></div>
|
||
<div><span>Location</span><strong><?= e($config->get('business.street')) ?></strong></div>
|
||
<div><span>Total paid</span><strong><?= money($order['total_cents']) ?></strong></div>
|
||
</div>
|
||
<div class="confirmation-items">
|
||
<?php foreach ($items as $item): ?>
|
||
<div><span><?= (int) $item['quantity'] ?>x <?= e($item['item_name']) ?></span><strong><?= money($item['line_total_cents']) ?></strong></div>
|
||
<?php endforeach; ?>
|
||
</div>
|
||
<div class="confirmation-actions">
|
||
<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>
|
||
</section>
|