Rammohan0504 commited on
Commit
a36dc77
·
verified ·
1 Parent(s): 22c5fc4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -563,7 +563,7 @@ def order_summary():
563
  coupon_result = sf.query(f"""
564
  SELECT Coupon_Code__c
565
  FROM Referral_Coupon__c
566
- WHERE Customer_Email__c = '{email}' AND Coupon_Status__c = 'Active'
567
  """)
568
 
569
  discount_percentage = 10 # Apply 10% discount
 
563
  coupon_result = sf.query(f"""
564
  SELECT Coupon_Code__c
565
  FROM Referral_Coupon__c
566
+ WHERE Referral_Email__c = '{email}' AND Coupon_Status__c = 'Active'
567
  """)
568
 
569
  discount_percentage = 10 # Apply 10% discount