Commit graph

74 commits

Author SHA1 Message Date
Gabriel Augendre e3bb57396b Generate dummy baskets with no fixed price items 2023-03-27 19:16:44 +02:00
Gabriel Augendre 0f0e4f854a Remove no payment method as option 2023-03-27 19:16:44 +02:00
Gabriel Augendre 1dec9c0bb6 Fix amount displayed at page load 2023-03-27 18:15:47 +02:00
Gabriel Augendre f060df9219 Preview prices at page load 2023-03-27 18:00:30 +02:00
Gabriel Augendre a219eeae84 Live update basket price in title 2023-03-27 17:57:46 +02:00
Gabriel Augendre 2d952e1a63 Debounce update 2023-03-27 17:50:43 +02:00
Gabriel Augendre f8e7647af1 Reload price on keyup too 2023-03-27 17:48:10 +02:00
Gabriel Augendre 755d896f1c Set input mode numeric on fields 2023-03-27 17:46:28 +02:00
Gabriel Augendre 9b381a0e18 Display total amount preview. Close #2 2023-03-27 17:35:16 +02:00
Gabriel Augendre 3de1c13995 Update translations & formatting 2023-03-27 16:57:38 +02:00
Gabriel Augendre 885ec52864 Add cents marker 2023-03-27 16:52:07 +02:00
Gabriel Augendre f3cd4201b2 Fix unpriced item deletion 2023-03-27 16:49:26 +02:00
Gabriel Augendre 56c2c7045d Implement floating price items 2023-03-27 16:45:00 +02:00
Gabriel Augendre 9e10de4199 Update htmx 2023-03-25 21:37:35 +01:00
Gabriel Augendre 46aff0bd56 Fix generate basket 2023-03-25 21:27:56 +01:00
Gabriel Augendre 114ae437bc Modernize app 2023-03-25 20:01:14 +01:00
Gabriel Augendre 672b2bdaf0 Include last-modified in cache 2022-09-25 21:46:14 +02:00
Gabriel Augendre ef7f470477 Remove harmful caching 2022-09-25 21:11:30 +02:00
Gabriel Augendre 3899e2a3db Implement caching 2022-09-25 21:10:11 +02:00
Gabriel Augendre 3bf5ce3033 Fix matplotlib backend 2022-09-25 20:33:18 +02:00
Gabriel Augendre ae5860fc17 Load graphs asynchronously 2022-09-25 19:51:21 +02:00
Gabriel Augendre 68ba920882 Fix matplotlib generation 2022-09-24 22:52:00 +01:00
Gabriel Augendre ecf3c4dce2 Add functional tests 2022-09-24 19:11:01 +01:00
Gabriel Augendre 40d6c655f1 Rewrite views as FBVs 2022-05-05 19:25:32 +02:00
Gabriel Augendre 8d51981368 Add unique constraint to baskets 2022-05-05 19:11:30 +02:00
Gabriel Augendre 91d64c6ce4 Replace reports CBV with FBV 2022-05-04 22:24:05 +02:00
Gabriel Augendre 60660c0abf Switch to inline radios for payment method in basket form 2022-04-29 18:04:59 +02:00
Gabriel Augendre 5d27164f5d Sometimes generate dummy baskets without payment method 2022-04-28 19:28:53 +02:00
Gabriel Augendre 7f90eb9ec3 Update dummy baskets generation to make it look more realistic 2022-04-28 18:49:00 +02:00
Gabriel Augendre de3d7e4058 Add color to items without picture 2022-04-28 18:34:13 +02:00
Gabriel Augendre 406f2b8d78 Add basket date in list 2022-04-27 23:20:10 +02:00
Gabriel Augendre 282318ac81 Moar graphs 2022-04-27 23:00:38 +02:00
Gabriel Augendre 212b0d9713 Separate data generation from plot production 2022-04-27 23:00:38 +02:00
Gabriel Augendre 883fc8e8f9 Fix pre-commit 2022-04-27 23:00:38 +02:00
Gabriel Augendre 394882f541 Save product unit price in basket item 2022-04-27 23:00:38 +02:00
Gabriel Augendre 6fc9522ca0 Add print-friendly styles on reports 2022-04-27 20:25:09 +02:00
Gabriel Augendre 26c0b08475 Fix natural key 2022-04-27 13:12:53 +02:00
Gabriel Augendre df1d20e079 Fix flake8 2022-04-27 13:09:51 +02:00
Gabriel Augendre 00cfca3438 Fix report table heading wording 2022-04-26 23:31:49 +02:00
Gabriel Augendre 36c35abbe8 Fix reports graphs display on smaller screens 2022-04-26 23:14:07 +02:00
Gabriel Augendre aa8e1fa5b5 Use json fixtures instead of yaml 2022-04-26 22:56:25 +02:00
Gabriel Augendre cb572621f2 Fix managers 2022-04-26 22:56:03 +02:00
Gabriel Augendre 7d217307a4 Improve dummy baskets generation 2022-04-26 22:41:26 +02:00
Gabriel Augendre 2833b3b749 Add generate dummy data function 2022-04-26 21:59:04 +02:00
Gabriel Augendre e1b456ab3c Fix no basket report 2022-04-26 21:12:03 +02:00
Gabriel Augendre f9b207a5eb Fix missing last basket 2022-04-26 20:46:44 +02:00
Gabriel Augendre 0afb46691f Update translations 2022-04-26 20:36:37 +02:00
Gabriel Augendre ea8f76db2d Compile messages at build time 2022-04-26 20:19:08 +02:00
Gabriel Augendre 9f72505898 Superimpose products plot 2022-04-26 20:11:36 +02:00
Gabriel Augendre ca5e948477 Add reports by hour 2022-04-26 20:08:13 +02:00