feat(booth): the exit lane light is the manual-exit control — two tiles, Hyrje and Dalje Manuale
Build & push images / images (push) Successful in 3m20s

BarrierLight gains onOpen/opening (not presence-gated). For an operator with
barrier:create + own shift the exit tile is labelled 'manual exit', clickable and
opens the manual-exit dialog while still showing the lane state; for everyone else it
stays the plain 'Dalje' light. The separate ghost button is removed. Wiki as-built note.
This commit is contained in:
2026-10-09 09:17:16 +02:00
parent 3f903cdbdd
commit 2ac26b5825
2 changed files with 27 additions and 19 deletions
+5 -3
View File
@@ -94,9 +94,11 @@ unchanged) and on the ticket being closed.
print line `Dalje manuale (N): X`, shown in the X-report, the close confirm and history.
- **Web**: in the pay/exit modal a red ghost "Forgive & open" for an OPEN transient that owes
money (unpaid or overstay) → reason box → "Confirm — open exit, no payment"; on the booth
header a "Forgive & open exit" next to the exit lane light for the no-ticket case
(a small styled dialog, same chrome as every other form — optional reason, red confirm). Both only render with
`barrier:create` + own open shift.
header the **exit lane light itself is the control** for the no-ticket case (user,
2026-10-09: "only Hyrje and Dalje Manuale") — same chrome as the entry light, still showing
the lane state, labelled "Dalje manuale" and clickable → a small styled dialog (optional
reason, red confirm). For anyone without `barrier:create` + own open shift it is the plain
"Dalje" light. The modal button likewise only renders with the permission + shift.
Live-feed reason texts in en/sq. **Nothing is printed.**
- Tests: exit-flow (ticketed + no-session), pay-station (`forgive`), shift-service (totals
untouched, own line, history), routes (403 without the permission, 409 no shift, 400 no