Management: Fix negative inventory balance

This commit is contained in:
Petr Baudis 2012-10-17 20:54:55 +02:00
parent 17ea4c72c6
commit 09d57550a3
2 changed files with 3 additions and 3 deletions

View file

@ -89,7 +89,7 @@ class ShopAdapter(QtCore.QObject):
return shop.profits.balance_str()
@QtCore.Slot(result='QVariant')
def balance_inventory(self):
return shop.inventory_negbalance_str()
return shop.inventory_balance_str()
@QtCore.Slot(result='QVariant')
def balance_credit(self):
return shop.credit_negbalance_str()