Commit Graph

15 Commits

Author SHA1 Message Date
Sli
c6e95bc345 Restore form when form submit fails due to error 2024-12-21 16:03:42 +01:00
Sli
7659c0cd8e Fix crash during validation 2024-12-21 16:03:42 +01:00
Sli
eaf72ad0ed Don't use codes as a primary key in counter click 2024-12-21 16:03:42 +01:00
Sli
e464809865 Make counter click client side first 2024-12-21 16:03:42 +01:00
Sli
a0eb53a607 Apply review comments 2024-12-17 01:41:45 +01:00
Sli
f63fb59cbf Allow filtering of refilling options
* Move settings.SITH_COUNTER_PAYMENT_METHOD to counter.apps.PAYMENT_METHOD
* Move student cards to an accordion on counter click
* Make cash default refilling option
* Disable bank selection option in refilling if CHECK are not allowed
* Disable refilling with CHECK from the frontend
2024-12-16 00:15:21 +01:00
Sli
cde864fdc7 Apply review comments 2024-12-15 22:47:59 +01:00
Sli
e9361697f7 Convert customer refill to a fragment view 2024-12-15 21:33:19 +01:00
imperosol
466fe58763 feat: make student card unique per user 2024-12-15 16:49:24 +01:00
Sli
de7aa6f6a6 Create a generic form fragment renderer 2024-12-08 11:45:16 +01:00
Sli
66d2dc74e7 Pre-fetch forms for student card 2024-12-08 00:32:28 +01:00
Sli
b81cf49d0a Remove student card creation from CounterClick view and use fragment instead
Intercept htmx on submit requests, this allows auto submit from nfc fields

Fix super call with parameters

Add loading wheel on student card form for counter_click.jinja
2024-12-07 12:57:10 +01:00
imperosol
10f42b1522 fix imports 2024-11-27 19:03:34 +01:00
imperosol
4133e0ccdd extract click views 2024-11-27 18:41:12 +01:00
imperosol
de415e7e75 split click views 2024-11-27 18:40:38 +01:00