a9e5985f90
Move c and cs commands to the mainmenu class This makes it so that it only works on the main menu, too.
robertem2018-08-31 13:48:06 +02:00
33a9f12ac0
Parameter to disallow zero in input_int
robertem2018-08-30 15:12:11 +02:00
ac3ab8099b
Use new defaults properly in edit product menu
robertem2018-08-30 15:11:17 +02:00
ca19cc14da
Rewrite input_str to allow defaults and act less strange with some parameters
robertem2018-08-30 14:59:37 +02:00
1675f26080
Fix string issues related to switch to python3 safe_str is no longer relevant after unicode strings are no longer explicit string types. Popen takes bytes by default now, not strings, which is fixed by setting an encoding sys.stdout.write should work with strings on linux at least. We only use it for the buy menu timeout, which already only works on linux, so it shouldn't be a problem.
robertem2018-08-24 13:43:35 +02:00
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.
robertem2018-08-24 09:31:15 +02:00
ab0a218f8e
Use function to return header instead of stringformatting a variable
robertem2018-08-24 09:21:01 +02:00
24201e8a69
Update requirements.txt to avoid deprecation
robertem2018-08-24 08:42:15 +02:00
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
robertem2018-08-23 13:15:45 +02:00
ce56649c7c
Run 2to3 to start moving to python3
robertem2018-08-19 16:38:45 +02:00
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
robertem2018-08-19 13:16:49 +00:00
31e3442c7c
Fix user transaction error and other unexpected behaviour
robertem2018-04-22 15:44:24 +00:00
17c2d05294
Added message to 'transfer between users'
chrivi2017-10-01 05:46:52 +00:00
3ef2323276
"did you pay different ammount" now goes the right way around.
chrivi2017-09-30 13:02:50 +00:00
702dfffbfa
Patch to handle negative stock issues
chrivi2017-06-11 14:25:27 +00:00
a03ca8f299
Removed SqlAlchemy from repo
chrivi2017-06-05 14:07:33 +00:00