Robert Maikher
0ea9042820
Revert change to variable name in helper functions
...
I thought it used the name of a builtin due to silly IDE colouring, but turns out what i changed it *to* was a builtin. oops.
2018-08-24 09:31:15 +02:00
Robert Maikher
ab0a218f8e
Use function to return header instead of stringformatting a variable
2018-08-24 09:21:01 +02:00
Robert Maikher
24201e8a69
Update requirements.txt to avoid deprecation
2018-08-24 08:42:15 +02:00
Robert Maikher
d5475b834f
Convert most strings to fstrings for readability
...
Some are kept as-is because they wouldn't be more readable, or do insanity that i cannot bother deciphering right now
2018-08-23 13:15:45 +02:00
Robert Maikher
068015a972
Add requirements.txt
2018-08-21 10:57:32 +02:00
Robert Maikher
ce56649c7c
Run 2to3 to start moving to python3
2018-08-19 16:38:45 +02:00
robertem
f155d21ae0
Fix label format for endless label types
...
Add some more documentation to config files
Create bar_codes directory to avoid IOExceptions when trying to write to non-existent directories
2018-08-19 13:16:49 +00:00
robertem
31e3442c7c
Fix user transaction error and other unexpected behaviour
2018-04-22 15:44:24 +00:00
17c2d05294
Added message to 'transfer between users'
2017-10-01 05:46:52 +00:00
3ef2323276
"did you pay different ammount" now goes the right way around.
2017-09-30 13:02:50 +00:00
702dfffbfa
Patch to handle negative stock issues
...
Negative stock can severely influence auto-pricing.
Therefore when stock is added an assumption,
that stock is at least 0 for that product.
2017-06-11 14:25:27 +00:00
a03ca8f299
Removed SqlAlchemy from repo
2017-06-05 14:07:33 +00:00
bae4a74196
Oops? Remove debug print
2017-06-05 13:26:45 +00:00
97537eaa83
Updated statistics
...
* Unicode and antipurchase for "by popularity"
2017-06-05 13:24:05 +00:00
de24644a51
Updated statistics
...
* Added "total positive" and "total negative" credits.
* Fixed unicode for "by revenue"
* Fixed "no purchases" and "anti-purchases" cases for "by revenue"
2017-06-05 13:14:21 +00:00
078ccf6b8a
Only count positive stock for "Total" stats
2017-06-05 12:33:06 +00:00
fd67aed7dd
Added "total purchase" option back
...
* Does not have ability to set total to greater than sum.
2017-05-12 19:34:33 +00:00
0265757993
Apparently python2 has problems with æ ø å.
...
Patched this particular instance.
Planning a py3 port soon
2017-04-25 14:06:37 +00:00
1c8f03695a
Cleanup
2017-04-15 18:47:28 +00:00
4669737fe3
Updated SqlAlchemy + the new files
2017-04-15 16:33:29 +00:00
e3267d4bda
Updated SqlAlchemy
2017-04-15 16:27:12 +00:00
2c790e1fe1
Bar code lengths give different formats.
2017-03-27 16:02:24 +00:00
195f88ad06
Better typeface
2017-03-25 16:20:51 +00:00
899f7c4ecd
Text fixes
2017-03-25 16:02:29 +00:00
b201c6d8c7
Aaand font paths
2017-03-25 15:59:47 +00:00
5a0ba1523b
Aaand font paths
2017-03-22 17:16:22 +00:00
8e47a1848b
Maybe remember the rotation and menu name
2017-03-22 17:13:15 +00:00
6d205fcf18
Add print menu
2017-03-22 17:02:11 +00:00
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