Commit graph

168 commits

Author SHA1 Message Date
Laetitia
b3cc0085ff Make phone not mandatory 2025-02-15 17:43:30 +01:00
xmeunier
b4311f1401 Fix pdf export layout 2025-02-15 14:05:03 +00:00
xmeunier
272df57664 Remove attributes 'target="_blank"' attributes from <a> tags 2025-01-05 13:56:18 +00:00
xmeunier
18249653f9 Prevent conflicting usage of comma in CSV files 2025-01-05 13:46:40 +01:00
xmeunier
686a31b96a Make aggregated values computed when called instead of stored in DB
- GroupedOrder.total_price
- Order.articles_nb
- Order.price
- Item.ordered_nb
2024-11-05 11:01:02 +00:00
xmeunier
44a2c20f95 Simpler solution to prevent unitended OrderAuthor 2024-10-20 15:06:10 +02:00
mobilinux
84dadd9147 Prevent inintended creation of OrderAuthor before ordering
When a grouped_order_detail view was called with authenticated user,
when prefilling the firstName, lastName and email also inserted a new
OrderAuthor object in the database.
Now use SimpleNamespace, instead of OrderAuthor object, to carry
those values to the template.
2024-10-20 12:50:55 +00:00
xmeunier
34d2db8623 Add summed nb of ordered items of each article in a grouped order 2024-10-20 11:58:05 +00:00
mobilinux
9b6cc7604c Remove header in the CSV export of email addressese 2024-09-14 12:29:37 +00:00
mobilinux
193114e1e9 Remove order_name from groupOrder emails export
This column was quite useless, since the export grouped order email addresses is
done for a given grouped order, so the value was the same throughout the CSV.
2024-09-14 12:29:37 +00:00
Laetitia
20823580a9 feat: modification de l'affiche de la date et heure de limite de commande 2024-09-14 10:56:38 +00:00
Laetitia
b57ebafca8 feat: ajout de la date dans la page de gestion de la commande groupée 2024-09-14 10:56:38 +00:00
Laetitia
f242870d50 feat: modification du format de date et heure dans le csv 2024-09-14 10:56:38 +00:00
pauline
8b79492508 correct test unit 2024-09-14 10:56:38 +00:00
pauline
39dcaf637d add date and note in csv 2024-09-14 10:56:38 +00:00
pauline
d20cafe5db commit for rebase 2024-09-14 10:56:38 +00:00
pauline
4181588a3a save 2024-09-14 10:56:38 +00:00
Laetitia
bcfb62e740 Revert "change html classes for appearence in 'voir'"
This reverts commit 1d7412d7109493e7978140237346d43826a3aebc.
2024-09-14 10:56:38 +00:00
Bastien Roy
12f91b55bd 63 autocomplete personal informations 2024-06-24 17:00:03 +00:00
a1c179f612 feat: add a /stats endpoint 2024-05-06 16:52:51 +00:00
Laetitia
b9e66a5f2b rename mixin and files 2024-04-13 19:07:54 +02:00
Laetitia
6b3b361e07 feat 159: allow staff users to see grouped order overview pages 2024-04-13 19:07:54 +02:00
5e5a462e45
chore: regroup all the tests in the test subfolder. 2024-04-13 17:15:46 +02:00
Bastien Roy
59e07f370b 158 rebase 2024-03-09 00:39:51 +01:00
Bastien Roy
c952b49920 167 retours Alexis 2024-02-04 13:49:26 +00:00
Bastien Roy
7a371d1b18 Fix total price when making order 2024-02-04 13:49:26 +00:00
PierreDubrulle
0d3496ade1 fix button width 2024-01-29 17:57:31 +00:00
PierreDubrulle
2943d69b63 fix test 2024-01-29 17:57:31 +00:00
PierreDubrulle
e28b697795 fix cov 2024-01-29 17:57:31 +00:00
PierreDubrulle
d726284e00 black formatting 2024-01-29 17:57:31 +00:00
PierreDubrulle
6b8eecdb6e set emails list 2024-01-29 17:57:31 +00:00
PierreDubrulle
a11620f143 less js + icon 2024-01-29 17:57:31 +00:00
PierreDubrulle
f9d1e10a2e Change filename.csv to commande_<order_numver>.csv 2024-01-29 17:57:31 +00:00
PierreDubrulle
cbc0a3b119 Refactor emails download 2024-01-29 17:57:31 +00:00
PierreDubrulle
c4d46acd20 feature copy emails list to clipboard 2024-01-29 17:57:31 +00:00
Laetitia
e41c817faa black formatting 2024-01-29 18:36:37 +01:00
SimGetti
011c1cac9a Make contact email editable in settings.py 2024-01-29 18:36:37 +01:00
pauline
dd1b28cc11 merge branch feature/160 2024-01-02 20:33:15 +01:00
7ff388331a chore: cleanup imports 2023-12-21 16:43:02 +00:00
5e79ddf78a chore: run ruff to format the code 2023-12-21 16:43:02 +00:00
Laetitia
5664be5074 add test for deadline nug resolution 2023-12-10 18:23:13 +00:00
PierreDubrulle
1aa5f985db Fix issue with incorrect deadline_time in order 2023-12-10 18:23:13 +00:00
pauline
0beec3cb67 change html classes for appearence in 'voir' 2023-10-22 14:26:34 +00:00
Laetitia
57e06537dc add delivery slot to calendar export 2023-10-22 16:15:48 +02:00
Laetitia
37c011b8c6 add delivery slot in confirmation mail
fix #133
2023-10-10 19:09:08 +02:00
Laetitia
fb3441ddf3 add delivery slot to grouped orders model
fix #163
2023-10-10 18:54:13 +02:00
Laetitia
ab5d510181 ics file with grouped order name 2023-09-17 13:46:40 +02:00
Laetitia
efb414f1f9 move calendar button to confirmation page 2023-09-17 13:44:10 +02:00
Arthur Vuillard
7ad2b57e64 ajout d'une vue pour ajouter la distribution à son agenda 2023-09-17 11:14:08 +00:00
f897f222b9 Fix carriage return on grouped-order overview 2023-09-12 08:15:32 +00:00