Spaces:
Sleeping
Sleeping
Update utility.py
Browse files- utility.py +1 -1
utility.py
CHANGED
@@ -237,7 +237,7 @@ def create_sale(user_phone, transaction_data):
|
|
237 |
item_name = transaction['details']['item'] # assumes item names are unique per transactions
|
238 |
# fetch the inventory
|
239 |
print(item_name, '\n')
|
240 |
-
print(
|
241 |
inventory = fetch_transaction(user_phone, item_name)
|
242 |
|
243 |
# Do the sales calculations
|
|
|
237 |
item_name = transaction['details']['item'] # assumes item names are unique per transactions
|
238 |
# fetch the inventory
|
239 |
print(item_name, '\n')
|
240 |
+
print(transaction)
|
241 |
inventory = fetch_transaction(user_phone, item_name)
|
242 |
|
243 |
# Do the sales calculations
|