Commit Graph
63 Commits
Author SHA1 Message Date
paul ab53b31ec0 Add todo 2024-05-13 19:31:50 +02:00
paul a201ce00b6 Add temporary table with index for speeding up consumption graph query 2024-05-13 19:30:12 +02:00
paul 630a0435a2 Add inline SVG consumption graphs 2023-12-13 13:44:28 +01:00
paul 61cf7696a5 Merge branch 'feature/audit-icons' 2023-12-13 13:38:56 +01:00
paul 3d9ad49020 Add icons to inventory page that indicate common issues 2023-12-05 17:18:39 +01:00
paul 1b6d0c40f3 Merge branch 'feature/auth-token-flask-login' 2023-12-05 15:52:01 +01:00
paul 235ef32efd Add Arch Linux dependencies to readme 2023-12-05 15:50:27 +01:00
paul 85598adaab Use flask-login instead of client-side sessions for storing selected location and orders 2023-08-22 18:31:42 +02:00
paul 70934a2f85 Add flask-login 2023-08-22 18:31:42 +02:00
paul d57e66c033 Add some types and doc to frontend code 2023-08-22 16:56:04 +02:00
paul d9114d21c7 Some doc stuff 2023-08-22 13:14:56 +02:00
paul 2108ef2418 Add unitsLeft field to SearchResult type 2023-08-22 13:14:56 +02:00
paul a2d1d42362 Implement adding new inventory items 2023-08-22 13:14:56 +02:00
paul 32bcb1b18a fixup! Store location name, group name and tax group description in order 2023-08-22 13:14:56 +02:00
paul 1e4aadee06 Store location name, group name and tax group description in order
Also delete compiled entry JS and add a Makefile
2023-08-22 13:14:56 +02:00
paul a82e75999b Restyle calculator 2023-08-22 13:14:56 +02:00
paul 7b95b69c7b Make it possible to delete orders from the cart 2023-08-22 13:14:56 +02:00
paul e0aef726bd Implement adding orders to the cart and viewing it 2023-08-22 13:14:56 +02:00
paul 7707a9da6d Make entry for submittable 2023-08-22 13:14:56 +02:00
paul ca2e2e2e4a Refactor calculator into its own module 2023-08-22 13:14:56 +02:00
paul 208cc54e53 Implement price calculator 2023-08-22 13:14:56 +02:00
paul f7dd572fe1 Add note about entry.js to readme 2023-08-22 13:14:56 +02:00
paul 69dba202d0 Move around gross unit price input 2023-08-22 13:14:56 +02:00
paul 3d6bd7bac5 Rewrite some of the grossUnitPrice stuff 2023-08-22 13:14:56 +02:00
paul 0f9be13e31 Refactor fronted somewhat 2023-08-22 13:14:56 +02:00
paul be86248cce First draft of elm frontend
This will probably be scrapped or rewritten
2023-08-22 13:14:54 +02:00
paul 01d060cf5f Remove old entry stuff 2023-08-22 13:14:15 +02:00
paul 8c5b34073d Add note about unsafe client sessions 2023-08-21 16:05:28 +02:00
paul fe81014794 Print link with access token to stderr 2023-08-21 14:14:47 +02:00
paul f308bca1fb Use secrets instead of random to generate access token 2023-08-21 13:44:26 +02:00
paul abaea8673a Add template for unauthenticated response 2023-08-20 14:10:44 +02:00
paul 4f83ee3a40 Add a comment and code style stuff 2023-08-20 14:10:44 +02:00
paul c453e923ae Use session to store authentication info instead of cookie 2023-08-20 14:10:44 +02:00
paul 04f832ac00 Add elm-stuff to .gitignore 2023-08-20 13:45:10 +02:00
paul 5551b6438a Fix some report stuff 2023-08-18 11:29:04 +02:00
paul 1a34486a84 Update report
Report now has a 'total' column next to the 'inventory' column.

Also, for items that are not empty yet we use the current time instead of the most recent sale to estimate time until empty.
2023-08-18 00:14:11 +02:00
paul 53eb6a9fba Fix ssh host in README 2023-08-18 00:12:42 +02:00
paul 243d91abb3 Add Python version note 2023-08-13 00:04:43 +02:00
paul f666075f3e Add some notes about setup and running jon 2023-08-11 14:53:04 +02:00
paul 2045496ef4 Move TODO to README 2023-08-11 14:39:49 +02:00
paul fd02d162aa Move Python code into repo root 2023-08-11 14:37:51 +02:00
paul b729e91aaa Remove Haskell code 2023-08-11 14:35:55 +02:00
paul 3ad649a402 Add /inventory/report route 2023-08-11 14:34:57 +02:00
paul 7c1e13e32e Fix read_item view 2023-07-17 17:15:10 +02:00
paul 37179e65a1 Merge branch 'feature/entry' 2023-07-03 18:22:41 +02:00
paul 9211d1f9b4 Add entry blueprint 2023-07-03 18:07:12 +02:00
paul c44f11a686 Add smaller font size for print media 2023-06-30 16:19:59 +02:00
paul 58ed948975 Add inventory correction stuff 2023-06-30 09:52:53 +02:00
paul bbd51978cb Implement some more python features 2023-06-06 16:51:28 +02:00
paul b886d71a0b Add python 2023-05-17 12:43:43 +02:00
paul e31017831a Fix error 2023-03-10 18:49:52 +01:00
paul b58efa1fc2 Delete old stuff from main 2023-01-06 01:41:56 +01:00
paul fa2d060143 Fix typo 2022-12-13 18:46:10 +01:00
paul 26b087c041 Add inventory line view 2022-12-13 18:41:39 +01:00
paul f02c7462f3 Add title 2022-12-11 01:24:23 +01:00
paul 05724dbaab Restructure client code 2022-12-08 22:42:10 +01:00
paul 9ce0f974fb Add a few things 2022-12-08 18:06:15 +01:00
paul 5bd3832d27 Add simple (and bad) frontend 2022-12-07 19:37:39 +01:00
paul 4be962a6fb Add createSnack call 2022-12-07 14:17:47 +01:00
paul 3e4548dc75 Add a few calls 2022-12-05 17:45:07 +01:00
paul e908d9dd8e Add swagger endpoint 2022-12-02 17:11:42 +01:00
paul 1c0c1457bd Add getUnsoundBarcodes route 2022-12-02 15:55:23 +01:00
paul b673f4dcf5 Set up some tables and basic queries 2022-12-02 15:20:05 +01:00