Commit graph

318 commits

Author SHA1 Message Date
40d6c655f1 Rewrite views as FBVs 2022-05-05 19:25:32 +02:00
8d51981368 Add unique constraint to baskets 2022-05-05 19:11:30 +02:00
91d64c6ce4 Replace reports CBV with FBV 2022-05-04 22:24:05 +02:00
60660c0abf Switch to inline radios for payment method in basket form 2022-04-29 18:04:59 +02:00
5d27164f5d Sometimes generate dummy baskets without payment method 2022-04-28 19:28:53 +02:00
7f90eb9ec3 Update dummy baskets generation to make it look more realistic 2022-04-28 18:49:00 +02:00
de3d7e4058 Add color to items without picture 2022-04-28 18:34:13 +02:00
406f2b8d78 Add basket date in list 2022-04-27 23:20:10 +02:00
282318ac81 Moar graphs 2022-04-27 23:00:38 +02:00
212b0d9713 Separate data generation from plot production 2022-04-27 23:00:38 +02:00
883fc8e8f9 Fix pre-commit 2022-04-27 23:00:38 +02:00
394882f541 Save product unit price in basket item 2022-04-27 23:00:38 +02:00
6fc9522ca0 Add print-friendly styles on reports 2022-04-27 20:25:09 +02:00
26c0b08475 Fix natural key 2022-04-27 13:12:53 +02:00
df1d20e079 Fix flake8 2022-04-27 13:09:51 +02:00
00cfca3438 Fix report table heading wording 2022-04-26 23:31:49 +02:00
729abaefdd Display navbar on smaller screens 2022-04-26 23:20:59 +02:00
36c35abbe8 Fix reports graphs display on smaller screens 2022-04-26 23:14:07 +02:00
aa8e1fa5b5 Use json fixtures instead of yaml 2022-04-26 22:56:25 +02:00
cb572621f2 Fix managers 2022-04-26 22:56:03 +02:00
7d217307a4 Improve dummy baskets generation 2022-04-26 22:41:26 +02:00
2833b3b749 Add generate dummy data function 2022-04-26 21:59:04 +02:00
e1b456ab3c Fix no basket report 2022-04-26 21:12:03 +02:00
f9b207a5eb Fix missing last basket 2022-04-26 20:46:44 +02:00
0afb46691f Update translations 2022-04-26 20:36:37 +02:00
8092021e2f Add gettext to build image 2022-04-26 20:34:11 +02:00
ea8f76db2d Compile messages at build time 2022-04-26 20:19:08 +02:00
6aee5a3b7b Fix run script 2022-04-26 20:13:46 +02:00
9f72505898 Superimpose products plot 2022-04-26 20:11:36 +02:00
ca5e948477 Add reports by hour 2022-04-26 20:08:13 +02:00
0e005cf815 Add graphs 2022-04-26 19:25:09 +02:00
4661525e30 Clean settings 2022-04-26 18:57:44 +02:00
a1e9aad8b2 Fix default product display order if no product 2022-04-26 18:57:30 +02:00
5f291178c7 Fix docker image name 2022-04-26 18:38:15 +02:00
51ff1afdb8 Add reports by day 2022-04-26 18:19:53 +02:00
bc80ca060b Allow saving product without image 2022-04-25 23:11:43 +02:00
5ac1893e31 Nicely display 0 instead of None for aggregation results 2022-04-25 23:11:37 +02:00
bc3b06bc17 Translate app 2022-04-25 23:05:17 +02:00
d16d9307f4 Add average basket 2022-04-25 22:24:01 +02:00
be6ec786db Add grafana 2022-04-25 22:23:55 +02:00
19121d0d89 Fix image name in docker compose 2022-04-25 22:03:43 +02:00
7157e990d6 Clean settings 2022-04-25 22:03:02 +02:00
1f932b5f49 Set timezone and language code as env vars 2022-04-25 22:01:57 +02:00
95d31380fb Disable double tap to zoom to allow fast tapping on plus/minus signs 2022-04-25 22:01:41 +02:00
08acd02d3b Globally improve display 2022-04-25 19:54:57 +02:00
ef4672ca15 Highlight baskets missing payment method 2022-04-25 19:03:16 +02:00
13fd6a27a8 Improve reports 2022-04-25 18:59:32 +02:00
150632e9c5 Refactor price with database queries and start reports 2022-04-25 18:37:26 +02:00
53620a279a Reorder navbar links 2022-04-25 17:36:20 +02:00
4cd55984aa Add error pages 2022-04-25 17:36:09 +02:00