8752cb5b09
Product List is ordered descending by stock
robertem2017-02-05 00:01:27 +00:00
b3536c19f6
Removes hidden status from items if they are added to stock in the normal way
robertem2017-02-04 23:54:45 +00:00
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
robertem2017-02-04 23:37:45 +00:00
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.
robertem2017-02-04 21:35:29 +00:00
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.
robertem2017-02-04 21:10:50 +00:00
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.
robertem2017-02-04 20:03:35 +00:00
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.
robertem2017-02-04 17:46:38 +00:00
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
robertem2015-10-09 17:07:05 +00:00
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
trygvrad2011-06-22 18:39:49 +00:00
6e015344a2
kosmetiske endringer på printing i AddStockMenu
almelid2011-06-08 18:06:21 +00:00
2557b2ab52
Duplikater av produkter i AddStockMenu fører nå til addisjon av antall.
almelid2011-06-07 09:30:02 +00:00
1330c05b08
Gjort AddStockMenu litt mer forklarlig.
almelid2011-06-06 15:33:46 +00:00
9dbe4b9dc6
Endret adferd for AddStockMenu, nå tar den en linje med syntaks 'tall produkt'
almelid2011-06-06 15:29:17 +00:00
1efe8d5238
Default 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
e94d450f15
Lagt til ny meny - AddStockMenu - for å legge inn innkjøp og få igjen penger for det.
almelid2011-06-05 20:19:05 +00:00
057dad9ea7
la til konfigurasjon for å koble seg til duplikatdatabasen.
torjehoa2011-03-06 10:07:40 +00:00
94b5d330eb
Added a stock column to the products table of the sample database
andreao2011-03-05 16:11:17 +00:00
3dbe47d04e
Now, 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
94976a0fd6
Bruker less til liste over kjøpte produkter for en bruker.
oysteini2011-01-31 15:37:11 +00:00
698ab3c15a
lagt til en texfil med strekkoder
almelid2010-12-03 13:20:31 +00:00
52198031cd
Fikset noe problemer med store/små bokstaver.
oysteini2010-11-24 16:24:52 +00:00
666c301e14
Advarsel for brukere med lav kreditt.
oysteini2010-11-24 16:22:10 +00:00
04b7f0dfe3
Bruker less i brukerlisten.
oysteini2010-11-24 16:15:12 +00:00
4b686894e4
Jeg innbiller meg at jeg har fikset problemet med C-c.
oysteini2010-10-03 15:34:11 +00:00
83d18fb309
Fikset problem med at man kan lage less-zombie ved å trykke C-c.
oysteini2010-09-24 21:24:04 +00:00
100cc8eda4
Endret makslengde for produktnavn fra 30 til 45 tegn.
oysteini2010-09-04 14:57:32 +00:00
b4bfaf5e96
ProductListMenu 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
467c6af263
Satte inn fanging av UnicodeEncodeError.
oysteini2010-09-04 14:29:14 +00:00