Commit graph

81 commits

Author SHA1 Message Date
4c4cd1ca03 Allow viewing reports by day 2023-04-02 18:22:14 +02:00
9f0969ec9a Use render instead of template response 2023-04-02 18:22:03 +02:00
b56ce2eb35 Fix display order in fixtures 2023-04-02 16:26:50 +02:00
df7e592f8c Add number of baskets in reports & reformat reports by day 2023-04-02 16:25:59 +02:00
31f3c10f61 Update fixtures 2023-04-02 16:03:37 +02:00
346477be88 Increase product density on basket form 2023-04-02 16:01:34 +02:00
93829df543 Remove product image and add initials 2023-04-02 15:51:54 +02:00
e3bb57396b Generate dummy baskets with no fixed price items 2023-03-27 19:16:44 +02:00
0f0e4f854a Remove no payment method as option 2023-03-27 19:16:44 +02:00
1dec9c0bb6 Fix amount displayed at page load 2023-03-27 18:15:47 +02:00
f060df9219 Preview prices at page load 2023-03-27 18:00:30 +02:00
a219eeae84 Live update basket price in title 2023-03-27 17:57:46 +02:00
2d952e1a63 Debounce update 2023-03-27 17:50:43 +02:00
f8e7647af1 Reload price on keyup too 2023-03-27 17:48:10 +02:00
755d896f1c Set input mode numeric on fields 2023-03-27 17:46:28 +02:00
9b381a0e18 Display total amount preview. Close #2 2023-03-27 17:35:16 +02:00
3de1c13995 Update translations & formatting 2023-03-27 16:57:38 +02:00
885ec52864 Add cents marker 2023-03-27 16:52:07 +02:00
f3cd4201b2 Fix unpriced item deletion 2023-03-27 16:49:26 +02:00
56c2c7045d Implement floating price items 2023-03-27 16:45:00 +02:00
9e10de4199 Update htmx 2023-03-25 21:37:35 +01:00
46aff0bd56 Fix generate basket 2023-03-25 21:27:56 +01:00
114ae437bc Modernize app 2023-03-25 20:01:14 +01:00
672b2bdaf0 Include last-modified in cache 2022-09-25 21:46:14 +02:00
ef7f470477 Remove harmful caching 2022-09-25 21:11:30 +02:00
3899e2a3db Implement caching 2022-09-25 21:10:11 +02:00
3bf5ce3033 Fix matplotlib backend 2022-09-25 20:33:18 +02:00
ae5860fc17 Load graphs asynchronously 2022-09-25 19:51:21 +02:00
68ba920882 Fix matplotlib generation 2022-09-24 22:52:00 +01:00
ecf3c4dce2 Add functional tests 2022-09-24 19:11:01 +01:00
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
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