Commit Graph

161 Commits

Author SHA1 Message Date
klmp200 c10b488080 Remove jquery-ui accordions 2025-06-03 20:48:45 +02:00
Thomas Girod 05756520a3 remove remaining accounting code 2025-04-13 14:14:26 +02:00
imperosol 26d4c4b811 move accound refound view to counter 2025-04-04 10:35:17 +02:00
imperosol eee78008b1 add pages to manage returnable products 2025-04-04 09:33:02 +02:00
thomas girod 6a17e4480e Merge pull request #1029 from ae-utbm/product-filter
add club and counter filters on product list page
2025-02-26 16:20:03 +01:00
imperosol 809febc353 add club and counter filters on product list page 2025-02-24 06:34:38 +01:00
klmp200 f4ff247862 Remove call from removed loadCounter function 2025-02-23 18:05:37 +01:00
klmp200 1978658b9c Allow transactions on counter when an user has recorded too many products as long as he doesn't record more 2025-02-21 14:50:07 +01:00
thomas girod 2f9e5bfee1 Merge pull request #965 from ae-utbm/form-style
rework form style
2024-12-27 22:24:09 +01:00
klmp200 43f47e2087 Improve product card display on counter click 2024-12-27 01:59:54 +01:00
klmp200 43768f1691 Refactor counter-click css 2024-12-26 11:52:30 +01:00
klmp200 280d27343d Put error popup inside the basket 2024-12-25 20:44:52 +01:00
klmp200 138e1662c7 Add popup css class and display basket error messages with it on counter click 2024-12-24 00:29:23 +01:00
klmp200 c80fe094a2 Remove useless form elements in counters and improve alignment 2024-12-23 20:44:49 +01:00
imperosol 72c2981d66 rework form style 2024-12-23 15:11:15 +01:00
klmp200 472800eff6 Add nice snackbar message on counter interface and fix not enough money protection on frontend 2024-12-23 00:56:57 +01:00
klmp200 5079938a5b Fix get_operator on non bar counters and better display of counter with no products 2024-12-22 13:36:50 +01:00
klmp200 372470b44b Improve empty basket and tray price management 2024-12-22 12:06:15 +01:00
klmp200 c37288c285 Display nice product cards on counter click interface 2024-12-22 12:06:15 +01:00
klmp200 ccf5767a01 Fix customerBalance not init and submit/cancel buttons visuals 2024-12-22 12:06:15 +01:00
klmp200 ffe6fc8c2a Redirect when cancelling instead of submitting a form 2024-12-22 12:06:15 +01:00
klmp200 5f0b4d2050 Properly display form errors in counter 2024-12-22 12:06:15 +01:00
klmp200 f9d7dc7d3a Restore form when form submit fails due to error 2024-12-22 12:06:15 +01:00
klmp200 a548f4744e Fix counter main
* Fix crash when submitting nothing
* Fix code field not being autofocus
2024-12-22 12:06:15 +01:00
klmp200 a383f3e717 Don't use codes as a primary key in counter click 2024-12-22 12:06:15 +01:00
klmp200 60f18669c8 Make counter click client side first 2024-12-22 12:06:14 +01:00
klmp200 4ac09ac08b Use tomselect instead of jquery autoselect for counter clicks 2024-12-21 15:56:18 +01:00
imperosol accf1befce Make products filterable by product type 2024-12-21 02:15:51 +01:00
imperosol 9cafc163e8 fix frontend archived products filter 2024-12-21 02:14:38 +01:00
imperosol 8f8eef4107 display products as cards 2024-12-21 02:14:38 +01:00
imperosol aab093200b slightly improve style 2024-12-21 02:14:38 +01:00
imperosol 1a9556f811 add a button to download products as csv 2024-12-21 02:14:38 +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 8d643fc6b4 Apply review comments 2024-12-17 17:23:13 +01:00
imperosol 47876e3971 Make product types dynamically orderable. 2024-12-17 13:35:29 +01:00
klmp200 ad44fd52a4 Apply review comments 2024-12-17 10:54:41 +01:00
klmp200 03c27b10e5 Fix refill permissions
* Remove ability to refill from counters
* Fix bug where you could refill without any board member on a BAR
* Add a warning message explaining why refilling are disabled
2024-12-17 02:42:07 +01:00
klmp200 66e5ef64fd Don't use API to update amount after a refilling query 2024-12-17 00:47:43 +01:00
klmp200 379527cd58 Add a nice animation on successful refilling 2024-12-16 00:58:23 +01:00
klmp200 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
klmp200 e9361697f7 Convert customer refill to a fragment view 2024-12-15 21:33:19 +01:00
klmp200 0631c77a1c Apply review comments 2024-12-15 17:02:44 +01:00
klmp200 2cc4308a58 Fix tooltip shadow and position and improve unittests 2024-12-15 16:49:24 +01:00
klmp200 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
klmp200 de7aa6f6a6 Create a generic form fragment renderer 2024-12-08 11:45:16 +01:00
klmp200 66d2dc74e7 Pre-fetch forms for student card 2024-12-08 00:32:28 +01:00
klmp200 d4b9c3afb1 Make StudentCardFormView fragment only 2024-12-07 22:36:15 +01:00
klmp200 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