Files
order/views/partials/flash.php
T
Ty Clifford 16235369cb - Implemented the full Fat Bottom Grille storefront and staff dashboard.
Highlights include configurable menus, specials, cart/checkout, taxes, 
customer accounts with email 2FA, newsletters, analytics, refunds, 
PDF/CSV exports, Square/Mailgun adapters, and optional MySQL migration.

See README.md for setup and production configuration. Verified 
PHP/JavaScript syntax, responsive layouts, registration, 2FA, checkout, 
dashboard workflows, settings persistence, and PDF generation.
Real Square, Mailgun, and MySQL connections require credentials/server 
access. Square implementation follows the official Payments API and 
Refunds API.
2026-06-10 13:27:42 -04:00

12 lines
505 B
PHP

<?php if (!empty($flashMessages)): ?>
<div class="<?= isset($adminPage) ? 'admin-flash-wrap' : 'container flash-wrap' ?>" aria-live="polite">
<?php foreach ($flashMessages as $message): ?>
<div class="flash flash-<?= e($message['type']) ?>">
<span><?= e($message['message']) ?></span>
<button type="button" class="flash-close" aria-label="Dismiss message">&times;</button>
</div>
<?php endforeach; ?>
</div>
<?php endif; ?>