pauline
4181588a3a
save
2024-09-14 10:56:38 +00:00
Bastien Roy
12f91b55bd
63 autocomplete personal informations
2024-06-24 17:00:03 +00:00
Laetitia
fb3441ddf3
add delivery slot to grouped orders model
...
fix #163
2023-10-10 18:54:13 +02:00
5164ebbb95
Change comment to be more readable
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
59f3870c41
Replace any instance of is_ongoing by is_open
2023-08-11 16:52:23 +00:00
Laetitia Getti
817428ea1f
Precise comments in create_code function
2023-08-10 11:10:47 +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
Laetitia Getti
c8811f93d0
sort items by name
2023-07-25 10:55:54 +02:00
Laetitia Getti
5c7bcac49b
add note to grouped order orga
2023-07-24 17:48:39 +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
8a2852794e
update grouped order
2023-07-07 15:07:01 +02:00
Laetitia Getti
04d3ab69a2
we cannot order when there is no item available
2023-06-20 08:34:13 +00:00
Laetitia Getti
a14267368c
impossible to order above max_limit for items
2023-06-05 14:33:30 +02:00
Laetitia Getti
9e76ef80d4
move methods from views to models
2023-05-25 15:37:19 +02:00
Laetitia Getti
53a7d04597
lint code
2023-05-25 15:37:19 +02:00
Laetitia Getti
539410ba66
overview page
2023-05-24 16:13:07 +02:00
Laetitia Getti
d03102fe57
afficher et calculer le prix de la commande
2023-05-24 16:13:07 +02:00
Laetitia Getti
3a27af2085
error when no article is ordered
2023-05-24 13:58:34 +02:00
Laetitia Getti
78b8d355d5
basic order page
2023-05-24 13:58:34 +02:00
Laetitia Getti
5075ed3f27
customUser with email as username
2023-05-24 13:58:34 +02:00
Laetitia Getti
97c507ae15
add placeholders on grouped orders create form
2023-05-24 13:52:36 +02:00
Laetitia Getti
72d7ea82de
add description and place fields in grouped order
2023-05-24 13:52:36 +02:00
Laetitia Getti
f10ab88dc2
add price and max limit fields for items
2023-05-24 13:52:36 +02:00
Laetitia Getti
8382348729
we cannot create two similar grouped orders
2023-05-24 13:52:36 +02:00
Laetitia Getti
04b754a51d
date form validation
2023-05-24 13:52:36 +02:00
Laetitia Getti
dc78511d9a
grouped order creation and add items
2023-05-24 13:46:24 +02:00
Laetitia Getti
3afaafbcdb
change grouped_order_orga to grouped_order_overview
2023-04-27 15:11:46 +02:00
Laetitia Getti
2fdc1b6862
index view only shows grouped orders organized by logged user
2023-04-19 18:14:09 +02:00
Laetitia Getti
d650ec2913
install flake8 and check files
2023-04-19 18:01:29 +02:00
Laetitia Getti
5ec40a5ea3
install black and format files
2023-04-19 18:00:25 +02:00
Laetitia Getti
09e21f7e5b
fonction is_ongoing et tests
2023-04-19 17:57:11 +02:00
Laetitia Getti
0e3f0a3e66
is_to_be_delivered method and refactoring order views
2023-04-18 16:05:28 +02:00
Laetitia Getti
6c3ed24b74
camelcase for GroupedOrder
2023-04-18 16:04:40 +02:00
Laetitia Getti
8648fee786
tests on GroupedOrderDetailView
2023-04-18 16:04:37 +02:00
Laetitia Getti
50e72f7235
install pytest-isort and isort and sort files
2023-04-18 16:01:42 +02:00
Laetitia Getti
5a5b4ccb25
install flake8 and check files
2023-04-18 16:01:26 +02:00
Laetitia Getti
e522b59ff3
install black and format files
2023-04-18 16:01:10 +02:00
Laetitia Getti
d4872c372e
les commandes groupées sont listées selon leurs dates
2023-04-18 16:00:08 +02:00
Laetitia Getti
c5d9b45f43
fonction is_ongoing et tests
2023-04-18 15:59:19 +02:00
Laetitia Getti
e979a0e227
ajout de ordered_item a l'admin
2023-04-18 15:57:10 +02:00
Laetitia Getti
1c4ea1a3fa
possibilité de commander 1 produit
2023-04-18 15:53:57 +02:00