Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -547,7 +547,7 @@ def apply_coupon():
|
|
547 |
|
548 |
if order_result.get("records"):
|
549 |
order_id = order_result["records"][0]["Id"]
|
550 |
-
|
551 |
# Update the order with the new total amount and offer applied
|
552 |
sf.Order__c.update(order_id, {
|
553 |
"Total_Amount__c": final_total,
|
|
|
547 |
|
548 |
if order_result.get("records"):
|
549 |
order_id = order_result["records"][0]["Id"]
|
550 |
+
print(order_id)
|
551 |
# Update the order with the new total amount and offer applied
|
552 |
sf.Order__c.update(order_id, {
|
553 |
"Total_Amount__c": final_total,
|