Commit Graph

192 Commits

Author SHA1 Message Date
Christoffer Viken 899f7c4ecd Text fixes 2017-03-25 16:02:29 +00:00
Christoffer Viken b201c6d8c7 Aaand font paths 2017-03-25 15:59:47 +00:00
Christoffer Viken 5a0ba1523b Aaand font paths 2017-03-22 17:16:22 +00:00
Christoffer Viken 8e47a1848b Maybe remember the rotation and menu name 2017-03-22 17:13:15 +00:00
Christoffer Viken 6d205fcf18 Add print menu 2017-03-22 17:02:11 +00:00
Christoffer Viken 1917944966 Ok, new try to get it working WTF debian 2017-03-21 22:27:37 +00:00
Christoffer Viken 806c9c3516 No idae what happened, but rotate in PIL instead of brother 2017-03-21 21:08:19 +00:00
Christoffer Viken 1b13dd9d32 Another try for 2.7 support 2017-03-21 20:50:41 +00:00
Christoffer Viken 5a89ca7ccd Python2 compatible maybe? 2017-03-21 20:47:37 +00:00
Christoffer Viken 6fdf157b5f LabelPrinter functionality 2017-03-21 20:43:36 +00:00
Christoffer Viken ffd93278d9 Added support for new RFID format 2017-03-16 18:54:42 +00:00
Christoffer Viken 13dbdf5f60 Counter view now has a "sign" to distinguish between purchases and anti-purchases. 2017-02-26 13:26:17 +00:00
Christoffer Viken a0ec131c49 Join the last 2 entries in a purchase if they are the same thing. 2017-02-26 11:26:41 +00:00
Christoffer Viken a71274ed78 Multiple buyers for 'add stock' menu 2017-02-25 16:28:38 +00:00
Christoffer Viken 8977071b3e Add stock 'antipurchase' for auditing 2017-02-21 15:38:41 +00:00
robertem 015c64a2ac Fixed bug preventing superfast mode from being set properly. 2017-02-20 12:49:47 +00:00
robertem d78f7b2ede Fixed bug preventing superfast mode from being set.
Fixed bug when printing warning star next to user in purchase list.
2017-02-20 12:37:56 +00:00
Christoffer Viken d9a91a7aa9 2017-02-20 12:29:30 +00:00
Christoffer Viken 12ad58961c 2017-02-20 12:19:03 +00:00
Christoffer Viken 4d254c612f PEP-8 compliance for text-based 2017-02-10 17:09:22 +00:00
Christoffer Viken ba8f80e4aa Ritchie damn it! Unicode 2017-02-10 14:00:11 +00:00
Christoffer Viken ec977fe155 Product/user summary now ordered by number of products bought 2017-02-10 13:56:34 +00:00
Christoffer Viken dd12b05ea2 Optimised product summary to use database (view) 2017-02-10 12:21:59 +00:00
robertem 8752cb5b09 Product List is ordered descending by stock 2017-02-05 00:01:27 +00:00
robertem b3536c19f6 Removes hidden status from items if they are added to stock in the normal way 2017-02-04 23:54:45 +00:00
robertem 11593a71d0 Database format update. Products now have a "hidden" column.
Hidden products will not appear when searching for products by name outside of the Edit Product or Product Search menu.
Products can be marked as hidden in the Edit Product menu. This menu now also allows changing of barcodes, and the prompt contains the previous values.
Statistics no longer throw an error.
Minor clarity improvements for messages
    "New Price" only appears when product price actually changes
    Better message at the end of adding products to stock
Removed unnecessary pauses after some menu options
2017-02-04 23:37:45 +00:00
robertem dd3967e67d Database format update.
Product's primary key is no longer the barcode, but a new sequential id. (products.product_id added as new column. products.bar_code no longer primary key.) Necessary foreign keys have been updated.
    Transactions have a new penalty column, and penalties applied are logged here. These are shown in the user transaction list as well.
2017-02-04 21:35:29 +00:00
robertem 8954ab4304 Rounds up when adding multiple users to purchase instead of rounding down, meaning you cannot abuse the system by adding yourself multiple times.
Correctly logs transaction amount when applying penalty.
Better shows penalty effect in purchase menu.
Preparations for database format update.
2017-02-04 21:10:50 +00:00
robertem 033a93bd4c Only shows last 100 transactions by default when checking user transactions, configurable in conf.py. New menu item for checking all of them.
Prints transactions newest-first instead of oldest-first.
User low credit warning limit now configurable in conf.py.
2017-02-04 20:03:35 +00:00
robertem 3f838a3de8 Fixes handling of EOF(CTRL+D) within penalty warning during superfast mode where it would accept the purchase instead of asking the user again for a proper yes/no answer. Also fixes prompt in this situation, while having the input handling be slightly less ugly when timeouts are involved. 2017-02-04 17:46:38 +00:00
robertem 9122f5b579 Fixes problem with penalty warning during superfast mode where inputting a non-full username would ask the user for a y/n answer forever 2015-10-09 17:07:05 +00:00
robertem d9b6a3ab6d 2015-10-03 19:47:05 +00:00
robertem c8a6f6c209 2015-10-03 18:41:29 +00:00
Øyvind Almelid e53b680dd2 La til slabbedasker.py, ett kort lite script som finner ut hvem som har negativ kreditt.
(\ /)
(^.^)
(> <) Bunny happy, good change.
2015-07-05 19:21:18 +00:00
Vegard Aksland Sjonfjell 9d5b2d0907 Mulighet til aa endre total amount 2013-02-11 19:42:19 +00:00
Vegard Aksland Sjonfjell 5aa4c9553f Bugfiks 2 2013-02-11 19:38:30 +00:00
Vegard Aksland Sjonfjell 3dc42b6565 Bugfiks 2 2013-02-11 19:24:22 +00:00
Vegard Aksland Sjonfjell b017c01994 Bugfiks 2 2013-02-11 19:23:48 +00:00
Vegard Aksland Sjonfjell 71572d0c1f Bugfiks 2 2013-02-11 19:23:23 +00:00
Vegard Aksland Sjonfjell 9d138f68b4 Bugfiks 2013-02-11 19:22:44 +00:00
Vegard Aksland Sjonfjell ffc9a647cc Ojda 2013-02-11 19:11:35 +00:00
Vegard Aksland Sjonfjell 8419f814ce La til restart-funksjon 2013-02-11 19:08:31 +00:00
Vegard Aksland Sjonfjell 007773be1a A hundred lies and battles 2013-02-11 18:54:33 +00:00
Vegard Aksland Sjonfjell 66ec119020 YAY 2013-02-11 18:49:28 +00:00
Trygve Magnus Ræder 76ca1e8788 utvidet statistikk i dibblermenyen, samt at 0 i dibblermenyen gir alternativ 10. Jeg legger også med en logfil for de som vil teste statistikken uten å koble opp til databasen 2011-06-22 18:39:49 +00:00
Trygve Magnus Ræder 2112bc5df9 statistikk for dibbler 2011-06-22 18:33:57 +00:00
Øyvind Almelid 6e015344a2 kosmetiske endringer på printing i AddStockMenu 2011-06-08 18:06:21 +00:00
Øyvind Almelid 2557b2ab52 Duplikater av produkter i AddStockMenu fører nå til addisjon av antall. 2011-06-07 09:30:02 +00:00
Øyvind Almelid 1330c05b08 Gjort AddStockMenu litt mer forklarlig. 2011-06-06 15:33:46 +00:00
Øyvind Almelid 9dbe4b9dc6 Endret adferd for AddStockMenu, nå tar den en linje med syntaks 'tall produkt' 2011-06-06 15:29:17 +00:00