Some rows (schema drift, cancelled requests, manual status edits) have customer_approved = NULL instead of the default 'none'. Templates called .upper() on it blindly, causing a Jinja2 UndefinedError / 500 when the customer player or admin pages loaded. Replace all .upper() calls with (value or 'none').upper() and add truthy checks before rendering the approved choice in status.html and dashboard.html. |
||
|---|---|---|
| .. | ||
| admin | ||
| closed.html | ||
| faq.html | ||
| kiosk.html | ||
| player.html | ||
| request.html | ||
| status.html | ||
| thanks.html | ||