Sep 15 - Update the check-in page, fix the employee id input placeholder message

This commit is contained in:
2026-09-15 12:58:00 -04:00
parent b33ed8d6c8
commit 4212726611
3 changed files with 10 additions and 2 deletions
+6
View File
@@ -1265,6 +1265,12 @@ it (the workers share no pub/sub).
| `routes/qr_codes.py` | `CHECKIN_EMPLOYEE_ID_MAX_DIGITS`; `qr_checkin` rejects a base ID over 4 digits (HTTP 400, bilingual); `qr_last_work_type` returns no suggestion for longer IDs |
| — | "Up to 4 digits" chosen over "exactly 4": 13 digit IDs still check in. Supersedes the earlier "no `maxlength` cap" note in §11 |
### Set 22 — Employee ID Placeholder Stuck on "Checking location services..." (Sept 15, 2026)
| File | Fix |
|---|---|
| `static/js/qr_destination.js` | `disableFormImmediately()` replaced the Employee ID placeholder with "Checking location services..." and nothing restored it after location services were confirmed. The override is removed — the submit button already shows the checking state |
| `templates/qr_destination.html` | Placeholder is now "Enter your employee ID / Ingrese su ID de empleado" |
---
## 21. Infrastructure & Deployment