Commit graph

72 commits

Author SHA1 Message Date
Yohan Boniface
6f8d9247c4 A bit more README 2019-04-09 19:05:02 +02:00
Yohan Boniface
8684e83880 Make everyone staff if not staff is on the config 2019-04-09 18:48:42 +02:00
Yohan Boniface
fa377aa290 Workaround static extension not marked as "unprotected" 2019-04-09 18:45:15 +02:00
Yohan Boniface
02ff34dff7 Do not send emails during unit tests… 2019-04-09 17:30:17 +02:00
Yohan Boniface
075f1cfbf6 Use Product.label in order table 2019-04-07 17:13:02 +02:00
Yohan Boniface
4704211b55 Manage staff through env var 2019-04-07 09:34:28 +02:00
Yohan Boniface
abc5fd019d Wording 2019-04-07 08:56:27 +02:00
Yohan Boniface
7ce15a79e9 Add xlsx import 2019-04-06 20:06:22 +02:00
Yohan Boniface
f7b90a392f Add Response.xlsx 2019-04-06 18:45:16 +02:00
Yohan Boniface
be5275053b Add products export endpoint 2019-04-06 18:28:12 +02:00
Yohan Boniface
d73386a58a Always print traceback 2019-04-03 19:54:21 +02:00
Yohan Boniface
f06eb52d58 Add link to modify order in summary email 2019-04-03 16:26:47 +02:00
Yohan Boniface
db08ef7a68 Deal with empty quantities in place order
A user may add a value in place of the "0" and then delete it,
so it will send an empty string to the server.
2019-04-03 16:08:09 +02:00
Yohan Boniface
69b5b6cf0b Bcc all emails for now 2019-04-03 15:46:54 +02:00
Yohan Boniface
5aeeb5f3b8 Fix email called without being defined 2019-04-02 22:22:33 +02:00
Yohan Boniface
4278c95d81 Mail wording 2019-04-02 21:33:46 +02:00
Yohan Boniface
86dc78e820 Add a link from place order to delivery page 2019-04-02 21:20:31 +02:00
Yohan Boniface
72cad21536 Control img size in modal box 2019-04-02 21:19:14 +02:00
Yohan Boniface
44bfa0d730 Change order button wording when user has no order yet 2019-04-02 20:45:37 +02:00
Yohan Boniface
a584e03e0f Also display weekday in dates 2019-04-02 20:01:05 +02:00
Yohan Boniface
6962810210 iwyu 2019-04-02 19:58:01 +02:00
Yohan Boniface
dadbe750cc Typo in logs dir 2019-04-02 19:57:00 +02:00
Yohan Boniface
1601719b9a Use French locale for dates 2019-04-02 19:55:02 +02:00
Yohan Boniface
782c08d5ee For now, log all incoming POST
We want to be able to debug any issue during a command.
Hint: DO MORE TESTS!
2019-04-02 19:51:38 +02:00
Yohan Boniface
8227f1566c Add Delivery.instructions field 2019-04-02 19:51:28 +02:00
Yohan Boniface
d8e9e6f714 Display product weigth when available 2019-04-02 09:56:29 +02:00
Yohan Boniface
1a0bda56b0 Strip € from prices at import 2019-04-02 09:56:10 +02:00
Yohan Boniface
9388365078 Use a dedicated from email 2019-04-02 09:55:49 +02:00
Yohan Boniface
a00f64a172 Add "copy emails" button in delivery page 2019-03-31 20:11:29 +02:00
Yohan Boniface
da1af28aaa Add Anne in staff 2019-03-31 19:58:50 +02:00
Yohan Boniface
21578d0c81 Allow to mark orders as paid
And display in orange unpaid colmuns
2019-03-31 19:46:18 +02:00
Yohan Boniface
bc802cae42 Allow to resend order by email 2019-03-24 22:05:26 +01:00
Yohan Boniface
24d278f04d Hide edit link on users email when user is not staff 2019-03-24 21:41:51 +01:00
Yohan Boniface
1ee0b20bca Redirect to delivery page after order has been placed 2019-03-24 21:37:36 +01:00
Yohan Boniface
7cccbad9e5 Very minimal staff management 2019-03-24 21:29:10 +01:00
Yohan Boniface
84c4e6e3be Add max_age to session cookie 2019-03-24 20:43:06 +01:00
Yohan Boniface
d7af4a8030 Use button styled a in header 2019-03-24 20:28:56 +01:00
Yohan Boniface
e0b182dff7 Split incoming and former deliveries in home page 2019-03-24 20:23:54 +01:00
Yohan Boniface
f5484bb90a Add a "manage my order" button on home page 2019-03-24 19:48:52 +01:00
Yohan Boniface
3d437fee4c Remove requirements.txt 2019-03-24 19:42:51 +01:00
Yohan Boniface
890523e5a3 Deal with empty orders 2019-03-24 19:04:47 +01:00
Yohan Boniface
0d1352df9f Allow the table to extend right without expending all the body 2019-03-24 18:56:09 +01:00
Yohan Boniface
b68d75b5a0 Only send summary email if order has been placed by user itself 2019-03-24 18:46:11 +01:00
Yohan Boniface
fba14dc45a Align left product column in signing sheet and summary email 2019-03-24 18:40:23 +01:00
Yohan Boniface
ea5ccedb00 Format order_before properly 2019-03-24 18:40:11 +01:00
Yohan Boniface
aa33599391 Basic email with order summary 2019-03-24 17:49:54 +01:00
Yohan Boniface
4cb3e10e93 Fix Delivery.when => Delivery.from_date 2019-03-24 17:08:03 +01:00
Yohan Boniface
0480cc585a Place order: merge GET and POST views 2019-03-24 17:03:31 +01:00
Yohan Boniface
59783879b6 Place order: use session email if not email is provided 2019-03-24 16:55:49 +01:00
Yohan Boniface
3c46100dbc Nginx: forward host and ip 2019-03-24 16:55:20 +01:00