Commit Graph

45 Commits

Author SHA1 Message Date
imperosol ceb09d4e80 use new price system in counters 2026-04-20 19:30:41 +02:00
thomas girod b4a6b6961b Merge pull request #1307 from ae-utbm/counter-sellers
Counter sellers
2026-03-11 18:09:49 +01:00
imperosol f17f17d8de use dynamic formset for product action formset 2026-03-10 19:26:30 +01:00
imperosol 78c373f84e differentiate regular and temporary barmen on the counter edit view 2026-03-09 16:04:46 +01:00
imperosol 74bf462e90 restrict products that non-admins can add to counter 2026-03-07 16:08:14 +01:00
imperosol 6a6a7e949f add checks on ProductForm 2026-02-17 22:08:01 +01:00
imperosol b03346c733 product formulas management views 2026-02-17 22:08:01 +01:00
thomas girod 7cbb3a2c5d Merge pull request #1256 from ae-utbm/remove-is_validated
Database optimisations on counter
2025-11-24 16:46:15 +01:00
thomas girod 4f802ac56e Merge pull request #1260 from ae-utbm/fix-warnings
Fix warnings
2025-11-24 07:43:51 +01:00
imperosol 6709befb1f fix timezone issues 2025-11-23 01:30:44 +01:00
imperosol b60bd3a42b fix: product scheduled action on product creation
cf. issue #1257
2025-11-21 11:13:06 +01:00
imperosol c588e5117d make Refilling.payment_method a SmallIntegerField 2025-11-19 21:03:55 +01:00
imperosol ad87617018 remove Refilling.bank 2025-11-19 21:03:55 +01:00
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 dac52db434 forbid past dates for product actions 2025-10-10 20:50:50 +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
imperosol 42b53a39f3 feat: automatic product counters edition 2025-10-10 20:40:44 +02:00
imperosol 83a4ac2a7e feat: automatic product archiving 2025-10-10 20:40:44 +02:00
klmp200 262ed7eb4c Don't use cookies for processing eboutic baskets 2025-04-15 00:07:07 +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
imperosol 7c3186da79 apply ruff rule A005 2025-03-10 10:33:05 +01:00
imperosol 348ab19ac6 small form fixes
le `display:block` avait disparu des helptext, ce qui rendait leur affichage bizarre. Et il manquait quelques détails sur le `ProductForm`
2025-01-05 15:40:41 +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
imperosol 72c2981d66 rework form style 2024-12-23 15:11: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 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
imperosol 466fe58763 feat: make student card unique per user 2024-12-15 16:49:24 +01:00
imperosol c51e5eb6cb remove parent_product column in the Product table 2024-12-09 12:59:33 +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 583d4ddfb8 Use less requests in GetUserForm.clean 2024-11-11 00:26:16 +01:00
klmp200 7f8a2c1eaf Remove ajax_select from counters 2024-10-20 20:55:05 +02:00
thomas girod 1b1284d3d0 Better validation for phone number in billing info 2024-09-28 17:25:34 +02:00
thomas girod d29a5cdb44 Add the new 3DSv2 fields 2024-09-27 11:10:38 +02:00
klmp200 15f51fb03f Create an NFC button for browser supporting NFC API 2024-07-25 07:18:39 +02:00
thomas girod 04e7f65e8e Merge pull request #725 from ae-utbm/drop-jquery-calendar
Remove jquery datetimepicker
2024-07-25 01:20:41 +02:00
thomas girod 9295325d21 remove jquery datetime picker 2024-07-23 23:26:48 +02:00
thomas girod 8c69a94488 use google convention for docstrings 2024-07-21 00:57:04 +02:00
thomas girod 2ac578c3ad ruff rule DJ
Co-authored-by: Bartuccio Antoine <klmp200@users.noreply.github.com>
2024-07-08 15:37:10 +02:00
thomas girod cfc19434d0 ruff rules UP008 and UP009 2024-07-08 15:37:09 +02:00
thomas girod 3143d3d91a reorganize imports with ruff 2024-06-26 12:35:38 +02:00
Thomas Girod fe9e5ce861 integration of 3D secure v2 for eboutic bank payment 2022-11-30 22:52:56 +01:00