Commit graph

109 commits

Author SHA1 Message Date
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
Laetitia Getti
7a65f189fd only display non null values and sort with alphabetical order 2023-07-20 17:26:52 +02:00
Laetitia Getti
7d1fd312f4 generate pdf list with weasyprint 2023-07-20 14:41:31 +02:00
Laetitia Getti
1829ab75f4 icon on mail download button 2023-07-07 17:15:03 +02:00
Laetitia Getti
75a7c5e44e tabs in fullwidth 2023-07-07 17:15:03 +02:00
Laetitia Getti
f4c08a3a23 duplicate grouped order
closes #7
2023-07-07 17:15:03 +02:00
Laetitia Getti
7e6d17c840 add back button on grouped order detail page 2023-07-07 15:07:01 +02:00
Laetitia Getti
05df89eefd delete grouped order
closes #59
2023-07-07 15:07:01 +02:00
Laetitia Getti
afea416d42 use GOForm for updating and warning message when deadline in the past
closes #94
2023-07-07 15:07:01 +02:00
Laetitia Getti
f32987457d separate views into several files 2023-07-07 15:07:01 +02:00
Laetitia Getti
4f98a5ec88 separate date and time in grouped order create form
closes #88
2023-07-07 15:07:01 +02:00
Laetitia Getti
8a2852794e update grouped order 2023-07-07 15:07:01 +02:00
Laetitia Getti
384f81d4ab front for grouped order create page 2023-07-07 15:06:59 +02:00
Laetitia Getti
248ee2f914 email list download 2023-07-07 15:06:43 +02:00
Laetitia Getti
daea05835a order detail on click in a modal 2023-07-07 15:06:42 +02:00
Laetitia Getti
040872d66d tabs on overview page 2023-07-07 15:06:04 +02:00
Laetitia Getti
b9de21235e change some icons 2023-07-07 15:06:04 +02:00
Laetitia Getti
04846caa0e display bug on validate buttons 2023-07-07 15:06:02 +02:00
Laetitia Getti
bc83967330 fixes after rebase 2023-07-07 15:05:28 +02:00
Laetitia Getti
ef00d0b367 fix for orders with cards on mobile 2023-07-07 15:05:28 +02:00
Laetitia Getti
32e5cda52e icons for order index 2023-07-07 15:05:28 +02:00
Laetitia Getti
4bb7854e89 card for order page on mobile 2023-07-07 15:05:26 +02:00
Laetitia Getti
165ec58d3a forkawesome icons 2023-07-07 15:04:21 +02:00
68c08d65b7 Small fixes while reading the code. 2023-06-23 20:50:31 +02:00