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. |
||
|---|---|---|
| .. | ||
| dashboard.html | ||
| login.html | ||
| pricing.html | ||
| request.html | ||
| sales.html | ||
| settings.html | ||