8752cb5b09Product List is ordered descending by stockrobertem2017-02-05 00:01:27 +00:00
b3536c19f6Removes hidden status from items if they are added to stock in the normal wayrobertem2017-02-04 23:54:45 +00:00
11593a71d0Database 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 optionsrobertem2017-02-04 23:37:45 +00:00
dd3967e67dDatabase 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.robertem2017-02-04 21:35:29 +00:00
8954ab4304Rounds 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.robertem2017-02-04 21:10:50 +00:00
033a93bd4cOnly 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.robertem2017-02-04 20:03:35 +00:00
3f838a3de8Fixes 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.robertem2017-02-04 17:46:38 +00:00
9122f5b579Fixes problem with penalty warning during superfast mode where inputting a non-full username would ask the user for a y/n answer foreverrobertem2015-10-09 17:07:05 +00:00
76ca1e8788utvidet 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 databasentrygvrad2011-06-22 18:39:49 +00:00
6e015344a2kosmetiske endringer på printing i AddStockMenualmelid2011-06-08 18:06:21 +00:00
2557b2ab52Duplikater av produkter i AddStockMenu fører nå til addisjon av antall.almelid2011-06-07 09:30:02 +00:00
1330c05b08Gjort AddStockMenu litt mer forklarlig.almelid2011-06-06 15:33:46 +00:00
9dbe4b9dc6Endret adferd for AddStockMenu, nå tar den en linje med syntaks 'tall produkt'almelid2011-06-06 15:29:17 +00:00
1efe8d5238Default adferd for tom linje på antall innkjøpte av et produkt i AddStockMenu er nå at ett eksemplar er innkkjøpt.almelid2011-06-05 20:30:09 +00:00
e94d450f15Lagt til ny meny - AddStockMenu - for å legge inn innkjøp og få igjen penger for det.almelid2011-06-05 20:19:05 +00:00
057dad9ea7la til konfigurasjon for å koble seg til duplikatdatabasen.torjehoa2011-03-06 10:07:40 +00:00
94b5d330ebAdded a stock column to the products table of the sample databaseandreao2011-03-05 16:11:17 +00:00
3dbe47d04eNow, every time there is a menu choice, it is possible to enter a thing (user/product) to initiate a buy. This is to make buying simpler.andreao2011-03-05 15:43:35 +00:00
94976a0fd6Bruker less til liste over kjøpte produkter for en bruker.oysteini2011-01-31 15:37:11 +00:00
4b686894e4Jeg innbiller meg at jeg har fikset problemet med C-c.oysteini2010-10-03 15:34:11 +00:00
83d18fb309Fikset problem med at man kan lage less-zombie ved å trykke C-c.oysteini2010-09-24 21:24:04 +00:00
100cc8eda4Endret makslengde for produktnavn fra 30 til 45 tegn.oysteini2010-09-04 14:57:32 +00:00
b4bfaf5e96ProductListMenu bruker less (det er blitt for mange produkter til at alle får plass på skjermen på en gang).oysteini2010-09-04 14:30:19 +00:00
467c6af263Satte inn fanging av UnicodeEncodeError.oysteini2010-09-04 14:29:14 +00:00
6732345e72(\_/) (O.o) (> <) Bunny approves these changesalmelid2010-09-03 08:34:38 +00:00
fc58fc83a1Mulighet for å vise alle transaksjoner og for å kalle den nye fine produktlistetingen i ShowUserMenu.oysteini2010-08-28 14:13:59 +00:00
55c740c1e9lagt til funksjonen print_purchased_products i ShowUserMenualmelid2010-08-28 13:11:48 +00:00