Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|