372470b44b
Improve empty basket and tray price management
2024-12-22 12:06:15 +01:00
7071553c3b
Optimize product id validation on counter click
2024-12-22 12:06:15 +01:00
eea237b813
Pre-filter allowed products in backend for counter click
2024-12-22 12:06:15 +01:00
ffe6fc8c2a
Redirect when cancelling instead of submitting a form
2024-12-22 12:06:15 +01:00
5f0b4d2050
Properly display form errors in counter
2024-12-22 12:06:15 +01:00
f9d7dc7d3a
Restore form when form submit fails due to error
2024-12-22 12:06:15 +01:00
8ebea00896
Fix crash during validation
2024-12-22 12:06:15 +01:00
a383f3e717
Don't use codes as a primary key in counter click
2024-12-22 12:06:15 +01:00
60f18669c8
Make counter click client side first
2024-12-22 12:06:14 +01:00
a0eb53a607
Apply review comments
2024-12-17 01:41:45 +01:00
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
cde864fdc7
Apply review comments
2024-12-15 22:47:59 +01:00
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
de7aa6f6a6
Create a generic form fragment renderer
2024-12-08 11:45:16 +01:00
66d2dc74e7
Pre-fetch forms for student card
2024-12-08 00:32:28 +01:00
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