1917944966
Ok, new try to get it working WTF debian
2017-03-21 22:27:37 +00:00
806c9c3516
No idae what happened, but rotate in PIL instead of brother
2017-03-21 21:08:19 +00:00
1b13dd9d32
Another try for 2.7 support
2017-03-21 20:50:41 +00:00
5a89ca7ccd
Python2 compatible maybe?
2017-03-21 20:47:37 +00:00
6fdf157b5f
LabelPrinter functionality
2017-03-21 20:43:36 +00:00
ffd93278d9
Added support for new RFID format
2017-03-16 18:54:42 +00:00
13dbdf5f60
Counter view now has a "sign" to distinguish between purchases and anti-purchases.
2017-02-26 13:26:17 +00:00
a0ec131c49
Join the last 2 entries in a purchase if they are the same thing.
2017-02-26 11:26:41 +00:00
a71274ed78
Multiple buyers for 'add stock' menu
2017-02-25 16:28:38 +00:00
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
d9a91a7aa9
2017-02-20 12:29:30 +00:00
12ad58961c
2017-02-20 12:19:03 +00:00
4d254c612f
PEP-8 compliance for text-based
2017-02-10 17:09:22 +00:00
ba8f80e4aa
Ritchie damn it! Unicode
2017-02-10 14:00:11 +00:00
ec977fe155
Product/user summary now ordered by number of products bought
2017-02-10 13:56:34 +00:00
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
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
9d5b2d0907
Mulighet til aa endre total amount
2013-02-11 19:42:19 +00:00
5aa4c9553f
Bugfiks 2
2013-02-11 19:38:30 +00:00
3dc42b6565
Bugfiks 2
2013-02-11 19:24:22 +00:00
b017c01994
Bugfiks 2
2013-02-11 19:23:48 +00:00
71572d0c1f
Bugfiks 2
2013-02-11 19:23:23 +00:00
9d138f68b4
Bugfiks
2013-02-11 19:22:44 +00:00
ffc9a647cc
Ojda
2013-02-11 19:11:35 +00:00
8419f814ce
La til restart-funksjon
2013-02-11 19:08:31 +00:00
007773be1a
A hundred lies and battles
2013-02-11 18:54:33 +00:00
66ec119020
YAY
2013-02-11 18:49:28 +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
2011-06-22 18:39:49 +00:00
2112bc5df9
statistikk for dibbler
2011-06-22 18:33:57 +00:00
6e015344a2
kosmetiske endringer på printing i AddStockMenu
2011-06-08 18:06:21 +00:00
2557b2ab52
Duplikater av produkter i AddStockMenu fører nå til addisjon av antall.
2011-06-07 09:30:02 +00:00
1330c05b08
Gjort AddStockMenu litt mer forklarlig.
2011-06-06 15:33:46 +00:00
9dbe4b9dc6
Endret adferd for AddStockMenu, nå tar den en linje med syntaks 'tall produkt'
2011-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.
2011-06-05 20:30:09 +00:00
e94d450f15
Lagt til ny meny - AddStockMenu - for å legge inn innkjøp og få igjen penger for det.
...
/人◕ ‿‿ ◕人\
Kyubey approves this commit.
2011-06-05 20:19:05 +00:00
20d3964900
RFID support
2011-04-12 13:58:16 +00:00
torjehoa
2c6a121e21
torjehoa: la inn en fiks for å fange SIGQUIT, ctrl backslash avslutter ikke dibbler lengre.
2011-03-21 00:53:10 +00:00
10a89888cd
Hovedmenyen viser seg selv på nytt når man gir den tull.
...
Hvis man skriver inn noe som ikke er et gyldig menyvalg og ikke gir
treff som produkt/bruker for hurtigkjøp, eller hvis man skriver noe
som ikke gir et eksakt treff for produkt/bruker og avbryter
valgmenyen, viser hovedmenyen seg selv på nytt (istedenfor at man får
bare prompt).
2011-03-10 15:21:56 +00:00