track delivery history

This commit is contained in:
2026-09-25 15:09:58 +08:00
parent 7b19f6163d
commit 4e93e266c1
+2
View File
@@ -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)