nagasurendra commited on
Commit
b8138b1
·
verified ·
1 Parent(s): 32d22ab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -5
app.py CHANGED
@@ -68,11 +68,6 @@ def order_history():
68
 
69
  orders = result.get("records", []) # Fetch all orders
70
 
71
- # Remove image URL from order details
72
- for order in orders:
73
- order_details = order['Order_Details__c']
74
- order['Order_Details__c'] = order_details.split(' | Image:')[0] # Remove the image part
75
-
76
  return render_template("order_history.html", orders=orders)
77
 
78
  except Exception as e:
 
68
 
69
  orders = result.get("records", []) # Fetch all orders
70
 
 
 
 
 
 
71
  return render_template("order_history.html", orders=orders)
72
 
73
  except Exception as e: