nagasurendra commited on
Commit
0cdd44a
·
verified ·
1 Parent(s): f896c04

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -475,7 +475,7 @@ def order_summary():
475
  try:
476
  # Fetch the most recent order for the user
477
  result = sf.query(f"""
478
- SELECT Id, Customer_Name__c, Customer_Email__c, Total_Amount__c, Order_Details__c, Order_Status__c
479
  FROM Order__c
480
  WHERE Customer_Email__c = '{email}'
481
  ORDER BY CreatedDate DESC
 
475
  try:
476
  # Fetch the most recent order for the user
477
  result = sf.query(f"""
478
+ SELECT Id, Customer_Name__c, Customer_Email__c, Total_Amount__c, Order_Details__c, Order_Status__c, Discount__c, Total_Bill__c
479
  FROM Order__c
480
  WHERE Customer_Email__c = '{email}'
481
  ORDER BY CreatedDate DESC