Commit graph

75 commits

Author SHA1 Message Date
f96ca0a192 Online edition + manage delivery + send emails. 2019-09-30 00:31:19 +02:00
ff79712fb5 Remove useless (for us) links. 2019-09-27 16:56:47 +02:00
e03b4cebb5 Do not join an already joined group. Fixes #3 2019-09-27 16:42:59 +02:00
931cc77f11 Make import / export work with ruptures. Fixes #4 2019-09-27 16:16:09 +02:00
2e524c92c1 Use debts to compute and solve the balances 2019-09-24 21:09:43 +02:00
bca36da70c Handle ruptures 2019-09-24 10:17:11 +02:00
c89f1d9466 Fix a few bugs in the reports 2019-09-24 01:30:36 +02:00
911f327106 Force people to enroll in a group. 2019-09-24 00:34:58 +02:00
fe960c13f5 Pass commands as group, not individual 2019-09-23 22:45:00 +02:00
90b2a92894 Make it work, again. 2019-09-23 21:41:53 +02:00
83b78b3684 Add support for product referents 2019-09-16 23:09:23 +02:00
49b16a761f Display all orderrs in the delivery summary page 2019-07-20 01:01:19 +02:00
23623d3563 Split orders by producer to ease the reading 2019-07-19 01:58:06 +02:00
93abb2234a Prompt users to join a group 2019-07-19 01:28:41 +02:00
690c551627 Attach the group to the user and to the request 2019-07-19 01:16:06 +02:00
cef7a200dc Add a concept of groups 2019-07-19 00:12:33 +02:00
Alexis Métaireau
626004313f Display the order button only when products have been imported 2019-05-01 01:49:59 +02:00
Alexis Métaireau
f450742e39 Make deliveries actions visible only when useful. 2019-05-01 01:49:34 +02:00
Alexis Métaireau
ae2d9b2994 Add a button to see the list of orders 2019-05-01 01:18:28 +02:00
Alexis Métaireau
20df999dc0 Add a multi import mechanism 2019-05-01 01:18:28 +02:00
Alexis Métaireau
ec291e4c85 Rename delivery.producer to delivery.name 2019-05-01 01:18:28 +02:00
Alexis Métaireau
6abe77de05 Handle multiple producers per delivery 2019-05-01 01:18:28 +02:00
Yohan Boniface
85521846e6 danger button CSS 2019-04-24 17:53:56 +02:00
Yohan Boniface
6db17fa56e Allow to archive deliveries
- Delivery.id is not persisted anymore: the file name and relaltive
  directory *is* the id, and we don't want to denormalize this info
- Delivery.load will filter out non fields keys from the storage: this
  allows more resilient upgrade of the data model, and is usefull when
  dealing with multiple branches with different data models
- Delivery.archive/unarchive will move the delivery storage from
  root to archive/
- Delivery.all now accepts "is_archived" to retrieve archived instead
  of active deliveries
- import products is now moved to a modal
- archived deliveries are now listed in a separate page
2019-04-24 17:51:56 +02:00
Yohan Boniface
5437508b03 Use more specific property Delivery.infos_url 2019-04-23 23:16:04 +02:00
Yohan Boniface
77bf047974 Truncate Delivery.url in delivery head 2019-04-23 14:46:12 +02:00
Yohan Boniface
c1ea72455c Add Delivery.url to a link to an external source 2019-04-22 23:14:14 +02:00
Yohan Boniface
53a9f6b560 Wording 2019-04-22 22:34:19 +02:00
5d8f9ad512 Delivery edition 2019-04-22 15:11:52 +02:00
b3286e5d86 Merge branch 'delivery-contact' into 'master'
Add Delivery.contact

See merge request ybon/copanier!9
2019-04-21 13:02:34 +02:00
5c93a05524 Round prices to two decimals max 2019-04-21 10:12:46 +02:00
Yohan Boniface
34d6183ad4 Add delivery balance report 2019-04-19 16:48:11 +02:00
434d9f293e Merge branch 'remove-ref' into 'master'
Remove ref from delivery page

See merge request ybon/copanier!8
2019-04-17 22:50:05 +02:00
Yohan Boniface
b6ed2b412b Add Delivery.contact 2019-04-17 22:12:14 +02:00
Yohan Boniface
97ae6daaae Remove ref from delivery page 2019-04-17 21:36:00 +02:00
Yohan Boniface
a6a504d0ca Skip products without orders in order form 2019-04-17 21:31:53 +02:00
Yohan Boniface
c020ec89fa Display adjustement col on closed delivery if order has adjustements 2019-04-16 23:14:55 +02:00
Yohan Boniface
edc0a44857 Wording 2019-04-16 22:37:10 +02:00
Yohan Boniface
1bd2c93b30 Try to make clearer that "ajustment" completes and does not replace 2019-04-16 22:36:03 +02:00
Yohan Boniface
9f3c19ddbe Add order wanted/ajustment details as cell title in delivery page 2019-04-16 22:11:49 +02:00
Yohan Boniface
4e608f9858 hot fix: show adjustements in place_order even when delivery is closed 2019-04-16 21:54:06 +02:00
Yohan Boniface
38272577d8 Allow negative ajustment
(bad copy paste and no dedicated test…)
2019-04-16 21:47:54 +02:00
Yohan Boniface
0c2e2f5444 Explicit "ajust" button in delivery page 2019-04-16 21:07:25 +02:00
Yohan Boniface
5deae74c9a Use thead and tbody in tables 2019-04-16 20:58:17 +02:00
Yohan Boniface
bf25a9c785 Add amount in delivery balance page 2019-04-14 17:31:07 +02:00
Yohan Boniface
815eb9543f Basic "manage delivery balance" page 2019-04-14 17:10:48 +02:00
Yohan Boniface
e9ec238754 Very basic "adjust product" page 2019-04-14 16:00:07 +02:00
Yohan Boniface
425222a0a2 Allow to define ProductOrder.ajustment when product needs adjustment 2019-04-14 09:41:55 +02:00
Yohan Boniface
165427bf8f WIP: deal with product packing 2019-04-14 09:41:55 +02:00
6c2f07bc3c More labels configuration 2019-04-14 09:18:00 +02:00