Commit graph

132 commits

Author SHA1 Message Date
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
74815fa06d Grouped Order descriptions keeps carriage returns
- Added a few useful info in the docs on how to install sass
2023-09-12 08:15:32 +00:00
a4bec7eed5 Use correct URL when sharing a grouped order 2023-08-29 15:20:13 +02:00
Laetitia Getti
947eded96f separate last name and first name fields in csv export 2023-08-29 10:35:10 +00:00
Laetitia Getti
064a3a8c74 last name appears first in pdf list 2023-08-29 10:35:10 +00:00
Laetitia Getti
82bc55ff39 mode dashboard out of order app and give box same height 2023-08-16 12:58:39 +00:00
Laetitia Getti
30d74e5dd9 add grouped order code in overview page 2023-08-16 12:58:39 +00:00
Laetitia Getti
6fe83b9275 integrate code for joining grouped order in dashboard
- move home page into order app and name it 'dashboard'
2023-08-16 12:58:39 +00:00
b4bdfb8cf4 Add the ability to use a code to join an order. 2023-08-14 17:44:49 +02:00
cf2c79cc3f Make "join order" part of the order's app 2023-08-14 14:57:51 +02:00
5164ebbb95 Change comment to be more readable 2023-08-12 21:02:09 +02:00
53d35094c0 Remove extraneous comments, rename test functions.
- Removed uneeded comments (like previous commits).
- Renamed some test functions to make them more explicit, and remove the
  associated docstring.
2023-08-12 21:02:09 +02:00
b4df449bcb Small code & comments changes.
- removed comments when they were not helping understanding the code.
- changed some variable names to ease readability
- make use of dict.update() to ease readability
- use dict comprehensions when possible to ease readability
- changed the naming from intial to origin (bad translation from english)
2023-08-12 21:00:42 +02:00
b001fc152c Enhance comments, minor code refactor.
- removes comments when they were not useful
- format comments to be less than 80 chars long (this is not covered by black)
- remove the CODE_LENGTH from the top level models.py, and use it in the function instead.
2023-08-12 21:00:42 +02:00
SimGetti
59ad699edf Replace last instances of is_ongoing by is_open 2023-08-11 16:52:23 +00:00
SimGetti
59f3870c41 Replace any instance of is_ongoing by is_open 2023-08-11 16:52:23 +00:00
Laetitia Getti
49c3a3f615 fix link in mail button and add note in mail 2023-08-11 16:36:37 +02:00
Laetitia Getti
4885025e99 use example.com, guillemets français and base_mail.html 2023-08-11 09:22:03 +00:00
Laetitia Getti
660117af80 send mail notification on order 2023-08-11 09:22:03 +00:00
Laetitia Getti
8953e1adf2 change duplicate grouped order test 2023-08-11 10:31:05 +02:00
Laetitia Getti
817428ea1f Precise comments in create_code function 2023-08-10 11:10:47 +02:00
Laetitia Getti
cb2373020e add reverse function in migration file 2023-08-09 11:32:09 +02:00
Laetitia Getti
6006cbe8df use the grouped order unique code in url path 2023-08-09 08:09:43 +00:00
Laetitia Getti
2083142d47 generate a 6 digit long unique code for each grouped order 2023-08-09 08:09:43 +00:00
BastienTest
9e52ded095 #122 - Modification de "Nouvelle commande" vers "Nouvelle commande groupée" 2023-08-08 23:20:54 +02:00
Laetitia Getti
5c6516c9b1 improve csv test 2023-08-01 11:02:18 +02:00
Laetitia Getti
25d0ef5604 csv export of a grouped order 2023-08-01 11:02:18 +02:00
Laetitia Getti
52b7804281 improve total computing on order form 2023-08-01 08:07:03 +00:00
Laetitia Getti
e4bd680fe2 simplifying code 2023-08-01 08:07:03 +00:00
Laetitia Getti
eaa365dccd ordering test files 2023-08-01 08:07:03 +00:00
Laetitia Getti
a02d748ccb the orga can delete orders 2023-08-01 08:07:03 +00:00
Laetitia Getti
0aba581434 orga can order after deadline and update version 2023-07-26 10:50:58 +02:00
Laetitia Getti
27fc20090e display total price on order form 2023-07-25 13:58:22 +02:00
Laetitia Getti
c8811f93d0 sort items by name 2023-07-25 10:55:54 +02:00
Laetitia Getti
d1b58ea5b7 values remain in the form when an error is raised 2023-07-24 18:15:48 +02:00
Laetitia Getti
5c7bcac49b add note to grouped order orga 2023-07-24 17:48:39 +02:00
Laetitia Getti
a40abe5525 vertical item names and check column 2023-07-24 16:31:20 +02:00