Commit Graph

56 Commits

Author SHA1 Message Date
imperosol 8bd82c9d7c Complete invoice call validation feature 2025-10-17 13:44:03 +02:00
Kenneth SOARES 3bcd417ad0 Basic implementation of invoice call validation 2025-10-17 13:40:05 +02:00
imperosol f398c9901c fix: 500 on product create view 2025-10-10 20:42:36 +02:00
imperosol 5b91fe2145 use ModelFormSet instead of FormSet for scheduled actions 2025-10-10 20:40:44 +02:00
imperosol abd905c24d write tests 2025-10-10 20:40:44 +02:00
Noa Fouich 262281adda Add test case 2025-09-18 14:40:20 +02:00
imperosol 67884017f8 fix old permanences having end replaced by activity 2025-06-25 01:22:13 +02:00
klmp200 8af6af1303 Test basket creation 2025-04-22 23:03:06 +02:00
klmp200 31575d0b64 Add tests 2025-04-11 17:12:23 +02:00
Thomas Girod ff220e67c1 use new django.url.reverse query kwarg 2025-04-11 14:54:06 +02:00
Thomas Girod 9e0cb7647b fix counter stats page access 2025-04-06 14:18:20 +02:00
imperosol 26d4c4b811 move accound refound view to counter 2025-04-04 10:35:17 +02:00
imperosol e7bb08448c feat: generic returnable products 2025-04-04 09:29:54 +02:00
imperosol 805b146f17 change Club.unix_name to Club.slug_name and remove it from forms 2025-03-28 17:42:53 +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
imperosol 428fe68cdb fix CustomerQuerySet.update_amount 2025-01-23 14:55:10 +01:00
imperosol 14ed43aaa5 fix office counter click access 2025-01-23 13:32:13 +01:00
klmp200 a4c6439981 Fix selling ordering bug that created "not enough money" errors
* Add tests
* Add tests for cons/dcons
2025-01-10 16:35:42 +01:00
klmp200 0c4d72e17a Switch from poetry to uv 2025-01-06 16:17:54 +01:00
imperosol af47587116 Split groups and ban groups 2025-01-05 15:49:08 +01:00
klmp200 139221dd22 Apply review comments 2024-12-23 15:15:24 +01:00
klmp200 7f6fd7dc47 Fix wrong tests/permissions 2024-12-23 02:37:41 +01:00
klmp200 ccf5118c9d Add invalid form tests 2024-12-23 02:26:39 +01:00
klmp200 022c19c020 Fix counter permissions issues 2024-12-23 02:17:28 +01:00
klmp200 2e5e217842 Disable eboutic in counter click/main 2024-12-23 01:35:44 +01:00
klmp200 9c93c004ec Add more counter click tests 2024-12-23 01:18:01 +01:00
klmp200 b8d43a629b Increase selling label size and add more counter click tests 2024-12-23 00:00:40 +01:00
klmp200 f6693e12cf Basic counter click tests 2024-12-22 19:24:07 +01:00
klmp200 38f491cf57 Properly test annotations in counter click 2024-12-22 16:43:07 +01:00
klmp200 3464d5d860 Add proper tests for refilling view 2024-12-22 16:16:28 +01:00
imperosol a7b1406e06 post-rebase fix 2024-12-19 10:53:11 +01:00
imperosol 8d643fc6b4 Apply review comments 2024-12-17 17:23:13 +01:00
imperosol c79c251ba7 Add ProductTypeController 2024-12-17 13:35:29 +01:00
imperosol 6c8a6008d5 api route to search products with detailed infos. 2024-12-17 12:38:59 +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 fc0ef29738 Remove GetCustomer API endpoint 2024-12-17 01:42:10 +01:00
klmp200 cde864fdc7 Apply review comments 2024-12-15 22:47:59 +01:00
klmp200 e9361697f7 Convert customer refill to a fragment view 2024-12-15 21:33:19 +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 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
imperosol ee9f36d883 implement the dump_accounts command 2024-11-19 00:48:35 +01:00
imperosol c2efc969d0 refactor populate.py 2024-11-10 02:59:43 +01:00
imperosol b091fee035 custom queryset method to bulk update customer balance 2024-11-10 02:59:43 +01:00
thomas girod d16a207a83 Add more Ruff rules (#891)
* ruff: apply rule F

* ruff: apply rule E

* ruff: apply rule SIM

* ruff: apply rule TCH

* ruff: apply rule ERA

* ruff: apply rule PLW

* ruff: apply rule FLY

* ruff: apply rule PERF

* ruff: apply rules FURB & RUF
2024-10-15 11:36:26 +02:00
imperosol 465e0f31d9 write command test 2024-10-11 09:57:46 +02:00
imperosol 5a8052ae47 send mail to inactive users 2024-10-11 09:57:41 +02:00
imperosol c0a6f5eb30 Optimize barmen timeout and counter state fetch
Le timeout se fait en une seule requête et la récupération de l'état des comptoirs en une seule requête aussi. Grâce à ça, on peut en grande partie retirer le cache pour l'affichage de l'état des comptoirs, ce qui a des implications excellentes en termes d'UX (comme le fait que la redirection vers la page de comptoir ou d'activité aura plus une apparence de truc aléatoire)
2024-10-10 19:38:49 +02:00