Files
OSIT-AE-App-Svelte/src/routes/events/[event_id]/(badges)
Scott Idem a81d65ce7e fix(badges): detect and surface PATCH failure in handle_print_badge
update_ae_obj__event_badge returns false on API failure without throwing,
so the old code always treated a failed PATCH as success — badge printed,
count not saved, page navigated away silently.

Now: check the return value explicitly. On failure — still fire window.print()
(physical print must never be blocked) and still navigate back, but show a
visible red error state ('Printed — count NOT saved (see staff)') and hold
for 4s so a kiosk operator can see it before the loop resets.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 16:36:56 -04:00
..
2026-03-24 12:13:37 -04:00

Aether (AE) Events - Badges Module (v3)

This directory contains the files for the new Event Badges module (v3).

Detailed documentation can be found here: @documentation/MODULE__AE_Events_Badges.md