track delivery history
This commit is contained in:
@@ -47,6 +47,7 @@ def load_inventory():
|
||||
inventory = load_inventory()
|
||||
total_units = 0
|
||||
failed_attempts = 0
|
||||
transaction_history = []
|
||||
|
||||
print("=== Stock Auditor ===")
|
||||
print("Type 'quit' to exit.\n")
|
||||
@@ -59,6 +60,7 @@ while True:
|
||||
|
||||
tax = calculate_tax(quantity)
|
||||
|
||||
transaction_history.append(quantity)
|
||||
inventory = process_delivery(inventory, quantity)
|
||||
total_units = process_delivery(total_units, quantity)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user