Rammohan0504 commited on
Commit
1bf8c22
·
verified ·
1 Parent(s): 0c50a71

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -610,7 +610,6 @@ def order_summary():
610
 
611
  update_result = sf.Order__c.update(order['Id'], {
612
  "Total_Amount__c": final_total, # Update total amount with the discount
613
- "Offers_Applied__c": f"Discount Applied: {coupon['Coupon_Code__c']} - ${discount} ({discount_percentage}% off)" # Store discount in offers applied field
614
  })
615
 
616
  print(f"Updated order: {update_result}")
 
610
 
611
  update_result = sf.Order__c.update(order['Id'], {
612
  "Total_Amount__c": final_total, # Update total amount with the discount
 
613
  })
614
 
615
  print(f"Updated order: {update_result}")