Commit graph

31 commits

Author SHA1 Message Date
b00lean
7ac0031a8d Fixes after tests 2013-07-08 17:36:36 +02:00
b00lean
0706054e81 Added logic for fixing inventory status 2013-07-08 17:31:17 +02:00
brmbar
12f5079381 Catching exception when sql query gets invalid data like too large number 2013-07-01 14:55:54 +02:00
Nephirus
ba4d8686f6 Search functionality added to Stock Management. 2013-02-23 15:18:20 +01:00
Petr Baudis
1ba8099e8e brmbar-cli.py: New command-line interface
For remote inspection of brmbar status and to do things too complicated and unusual for the GUI.
2012-11-25 18:49:53 +01:00
Václav 'Ax' Hůla
385393fdb7 Dont panic on stopped database 2012-10-27 23:49:44 +02:00
Václav 'Ax' Hůla
18633fa596 import clenaup 2012-10-27 23:27:59 +02:00
Václav 'Ax' Hůla
a4dbf3b77c All db operations now should go thru Database object 2012-10-27 23:20:43 +02:00
Václav 'Ax' Hůla
ec94f1d034 Retab 2012-10-26 21:41:23 +02:00
Petr Baudis
09d57550a3 Management: Fix negative inventory balance 2012-10-17 20:54:55 +02:00
Petr Baudis
9c1c8d381b brmbar.Shop.receipt_to_credit(): New method for converting receipts to credit 2012-09-29 00:22:32 +02:00
Petr Baudis
6a71841112 brmbarv3: Add missing db.commit() at two places 2012-09-28 23:28:18 +02:00
Petr Baudis
b11cd6c338 brmbarv3 ItemEdit: Fix missing support for renaming items 2012-09-28 23:21:23 +02:00
Petr Baudis
a775c24cbc brmbar.Account.create(): Fix SQL usage 2012-09-28 23:20:00 +02:00
Petr Baudis
8ed210bac9 brmbar.Currency.create(): Fix call 2012-09-28 23:19:45 +02:00
Petr Baudis
6e7cdf0bad brmbar.Shop.buy_for_cash(): New method for stock replenishment from the money box 2012-09-28 22:37:02 +02:00
Petr Baudis
fedd1ecd50 brmbar.Currency.update_{sell,buy}_rate(): New methods 2012-09-28 22:36:30 +02:00
Petr Baudis
e6588a5eba brmbarv3: Fix few unusued INSERT statements with syntax errors 2012-09-28 22:35:02 +02:00
Petr Baudis
6ac230c7d9 brmbar.Currency.rates(): Use _latest_ exchange rate, not earliest 2012-09-28 22:00:09 +02:00
Petr Baudis
072aa83479 brmbar.Currency.convert(): Use _latest_ exchange rate, not earliest 2012-09-28 21:52:52 +02:00
Petr Baudis
0ab5e579c7 brmbarv3 TODO: Shop.inventory_balance() is computing wrong results 2012-09-28 21:49:16 +02:00
Petr Baudis
4e1681cb94 brmbar.Account.add_barcode(): New method 2012-09-26 03:31:51 +02:00
Petr Baudis
586b2411cf brmbar.Shop.account_list(): Sort accounts alphabetically 2012-09-25 00:13:58 +02:00
Petr Baudis
0645e6c9b0 brmbar.Shop.account_list(): Actually use acctype parameter 2012-09-25 00:12:06 +02:00
Petr Baudis
eda6eaf9e4 brmbar.Shop.withdraw_credit(): New method analogous to add_credit() 2012-09-24 04:39:30 +02:00
Petr Baudis
71abc6ca66 brmbar.Shop.account_list(): New query method 2012-09-24 03:52:36 +02:00
Petr Baudis
79080d4c5d brmbar.Shop: Implement credit_balance() and inventory_balance() query methods 2012-09-24 01:58:12 +02:00
Petr Baudis
30cd5462b4 brmbar.Currency.str(): Properly format to two decimal places 2012-09-24 01:57:33 +02:00
Petr Baudis
7574b916cd brmbar.Currency.convert(): Fix missing assignment 2012-09-24 01:57:10 +02:00
Petr Baudis
5b63e54687 brmbar v3: Properly record payment by cash in database 2012-09-05 13:47:31 +02:00
Petr Baudis
3a81c9fec2 Rewrite brmbar v3 in Python because Perl has lousy Qt bindings
Complete 1:1 reimplementation of existing Perl codebase.
2012-09-05 01:31:05 +02:00