5079938a5b
Fix get_operator on non bar counters and better display of counter with no products
2024-12-22 13:36:50 +01:00
eed434aeb2
Improve age management for getting products and make get_product a part of counter model
2024-12-22 12:27:58 +01:00
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
imperosol
39b36aa509
ajaxify the product admin page
2024-12-21 02:14:38 +01:00
imperosol
5da27bb266
rename producttype
to product_type
2024-12-18 14:48:59 +01:00
imperosol
483670e798
Make ProductType
an OrderedModel
2024-12-17 13:35:29 +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
4975475e85
Add tooltip on current registered card, allow barmen to delete cards and make card deletion a fragment
2024-12-15 16:49:24 +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
d4b9c3afb1
Make StudentCardFormView fragment only
2024-12-07 22:36:15 +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
c2d6af12ab
Merge branches 'split-home' and 'split-studentcard' into split-counter
2024-12-07 00:13:50 +01:00
imperosol
6e48f88c06
extract counter auth views
2024-12-07 00:12:10 +01:00
imperosol
7a91a71565
extract counter auth views
2024-12-07 00:11:18 +01:00
imperosol
c4764110d8
extract counter home views
2024-12-07 00:10:46 +01:00
imperosol
ff68e65250
extract counter home views
2024-12-07 00:07:37 +01:00
imperosol
c9d83e5916
extract student card views
2024-12-07 00:06:33 +01:00
imperosol
5dc99dbfcb
extract student card views
2024-12-07 00:05:45 +01:00
imperosol
10f42b1522
fix imports
2024-11-27 19:03:34 +01:00
imperosol
76e9f3b1dc
Merge branches 'split-cash', 'split-click', 'split-main', 'split-admin', 'split-mixins', 'split-eticket' and 'split-invoices' into split-clean
2024-11-27 18:49:40 +01:00
imperosol
d0ff9bc16c
extract mixins views
2024-11-27 18:48:06 +01:00
imperosol
5e4ebd16f9
extract mixins views
2024-11-27 18:47:55 +01:00
imperosol
d2b19424ff
extract eticket views
2024-11-27 18:47:18 +01:00
imperosol
08286254cd
extract eticket views
2024-11-27 18:47:03 +01:00
imperosol
4805c39b45
extract cash views
2024-11-27 18:46:24 +01:00
imperosol
f845bbf20a
extract cash views
2024-11-27 18:45:27 +01:00
imperosol
71c7158124
extract invoice views
2024-11-27 18:43:26 +01:00
imperosol
c4643ee52c
extract invoice views
2024-11-27 18:42:50 +01:00
imperosol
b46b0882f3
extract admin views
2024-11-27 18:42:26 +01:00
imperosol
1c4efc9431
extract admin views
2024-11-27 18:41:47 +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
imperosol
9d17524f45
extract main views
2024-11-27 18:00:48 +01:00
imperosol
68ad9650af
extract main views
2024-11-27 17:56:44 +01:00
imperosol
8d4d8a3abc
create views package
2024-11-27 17:07:08 +01:00