menus/editing: print positive number on adjusting stock down
This commit is contained in:
@@ -190,7 +190,7 @@ class AdjustStockMenu(Menu):
|
||||
if add_stock > 0:
|
||||
print(f"You added {add_stock:d} to the stock of {product}")
|
||||
else:
|
||||
print(f"You removed {add_stock:d} from the stock of {product}")
|
||||
print(f"You removed {(add_stock * -1):d} from the stock of {product}")
|
||||
|
||||
product.stock += add_stock
|
||||
|
||||
|
||||
Reference in New Issue
Block a user