Commit graph

228 commits

Author SHA1 Message Date
Daniel Atwood
1b5e07c897 Automatically hide out of stock products and producers with only out of stock products.
Fixes #15 #16.
2020-06-07 18:23:34 +02:00
Daniel Atwood
38ef1bb374 Fix location of the order-summary.css file. 2020-06-07 17:38:52 +02:00
Daniel Atwood
4f4673ce65 Enhance the style of the forms. Fixes #13 2020-06-07 17:34:57 +02:00
Daniel Atwood
2cdf8fe06d Reorder descriptive info for deliveries. Fix #20. 2020-06-07 17:12:54 +02:00
Daniel Atwood
8b1d17d5e1 Be friendlier when groups are empty. Fixes #8. 2020-06-07 17:00:15 +02:00
Daniel Atwood
4f1f906040 Packaging info is now hidden by default.
You can access it with an "advanced" link on the product edit. Fixes #6.
2020-06-07 16:54:24 +02:00
Daniel Atwood
9de39cfcdc Create a popup when the products needs to be updated.
Fixes #5.
2020-06-07 16:38:49 +02:00
Daniel Atwood
c88c32b5ae Merge branch 'wip' of github.com:indatwood/copanier into wip 2020-06-07 15:40:29 +02:00
Daniel Atwood
3b9b667be8 Make product edition easier. Fixes #4 2020-06-07 00:59:41 +02:00
df06c75f80 Change default values. Fix #12 2020-05-29 18:55:33 +00:00
Daniel Atwood
0c15a6f601
Merge pull request #3 from Natim/natim-fixes
Reorder routes.
2020-05-27 10:20:37 +02:00
Rémy HUBSCHER
47ea1537e5
Reorder routes. 2020-05-27 10:13:33 +02:00
Daniel Atwood
dbd88c2d09
Merge pull request #1 from Natim/natim-fixes
Detect the créer URL before matching product_id.
2020-05-24 14:25:06 +02:00
Rémy HUBSCHER
2be48a0ca8
Detect the créer URL before matching product_id. 2020-04-26 16:20:07 +02:00
Daniel Atwood
2f1cb49f91 Use the url_for helper rather than direct URLs in templates 2020-04-08 23:21:51 +02:00
Daniel Atwood
90c0f037cd Better URL handling, thanks to a new url_for() utility 2020-04-08 21:17:19 +02:00
Daniel Atwood
1c8a409e92 Replaced "solde" and "émargement" URLs by "paiements" and "résumé-de-commandes". 2020-04-08 18:41:01 +02:00
Daniel Atwood
db73c3cff0 Make all tests pass again. 2020-04-08 17:55:52 +02:00
Daniel Atwood
54b8919a0b Display better out of stock items 2020-04-07 20:03:33 +02:00
Daniel Atwood
74daf38ce4 Cosmetic changes 2020-04-07 19:59:36 +02:00
Daniel Atwood
74f4229fd0 Add the agenda of a delivery to the toolbox page. 2020-04-07 19:47:05 +02:00
Daniel Atwood
7c1c7a686a Make other's orders edition more explicit 2020-04-07 16:56:52 +02:00
Daniel Atwood
3fc0a51336 Fix login links 2020-04-07 16:55:47 +02:00
Daniel Atwood
d9c60809db Update a bit the readme to be more precise about what this project does. 2020-04-07 16:41:25 +02:00
Daniel Atwood
9a42357c4b Reorganize URLs and templates.
Reorganizing the URLs seems to fix an issue with namespace collision in the URLs.

- URLs for product related operations are now in the /produits/ namespace ;
- Templates are now using a formalism of action_subject.html, which makes it simpler to find find them.
2020-04-07 16:41:07 +02:00
Daniel Atwood
8580c98291 Allow deletion of a product from the interface 2020-04-07 13:45:03 +02:00
Daniel Atwood
0b6bdfb768 first working version for shipping fees 2020-04-05 22:02:02 +02:00
Daniel Atwood
8db76c19d1 Add support for price updates 2020-04-05 19:08:45 +02:00
Daniel Atwood
f56471f6e1 Fix redirect after delivery copy 2020-04-05 17:47:52 +02:00
Daniel Atwood
b559e8ea32 Add a way to delete a producer 2020-04-04 22:12:22 +02:00
Daniel Atwood
1b029b618f Fix order page 2020-04-04 21:28:28 +02:00
Daniel Atwood
3849d51a24 Cosmetics 2020-04-04 21:17:00 +02:00
Daniel Atwood
32de8206f7 Update the readme 2020-03-13 19:04:12 +01:00
Daniel Atwood
02699d55aa Reorganize the files,
I've split everything in different concepts (groups, login, products and delivery) so that it's easier to find what we're looking for (the __init__.py file was really too big).
2020-03-13 18:58:54 +01:00
Daniel Atwood
be83db4a15 Ajout d'un menu 2020-03-13 18:58:51 +01:00
Daniel Atwood
5ec92d9531 Add the ability to change the referent name. Fixes #29. 2020-03-13 18:58:50 +01:00
Daniel Atwood
5eeea0dade Add an empty status. 2020-03-13 18:58:50 +01:00
Daniel Atwood
f2ca52a060 Add usage info 2020-03-13 18:58:49 +01:00
Daniel Atwood
e228bba139 Remove debug statement. 2020-03-13 18:58:49 +01:00
Daniel Atwood
48a6aa9f9a Attach phone numbers to orders. 2020-03-13 18:58:48 +01:00
Daniel Atwood
ae3e1e2888 Remove paiement tracking 2020-03-13 18:58:48 +01:00
Daniel Atwood
f0c030d622 Add Weasyprint to the dependencies. 2020-03-13 18:58:47 +01:00
Daniel Atwood
347a00398f Some small post-merge fixes. 2020-03-13 18:58:46 +01:00
d54324c2c1 Merge branch 'master' into crac 2019-10-05 21:12:16 +02:00
3acda4463b Indicate differences with upstream in the README. 2019-10-05 20:34:57 +02:00
befb5fd1de Generate PDFs rather than XLS files.
Closes #14.
2019-10-05 20:20:13 +02:00
9af506ba4b Do some cleaning. Thanks pylint. 2019-10-05 01:27:06 +02:00
cbb8329c3e Fix command unit display when doing adjustments.
Closes #15.
2019-10-05 00:33:14 +02:00
5bbce69ea0 Add a button « Manage groups » on the delivery.
Skin a bit better the delivery balance template :-)

Closes #16
2019-10-05 00:27:27 +02:00
89e4664c21 Display names in the debts repartition table.
Because multiple referents can exist in the same group,
one is picked and considerd as the one who's paying for the group.

Closes #18.
2019-10-05 00:18:31 +02:00