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

Update templates/order_history.html

Browse files
Files changed (1) hide show
  1. templates/order_history.html +1 -2
templates/order_history.html CHANGED
@@ -114,8 +114,7 @@
114
  {% for order in orders %}
115
  <div class="order-card {% if loop.index > 3 %}hidden{% endif %}">
116
  <p><strong>Date:</strong> {{ order['CreatedDate'][:10] }}</p>
117
- <!-- Remove the Image URL part from the Order Details -->
118
- <p><strong>Order:</strong> {{ order['Order_Details__c'] | replace(' | Image:', '') }}</p>
119
  <p><strong>Total Amount:</strong> ${{ order['Total_Amount__c'] }}</p>
120
  <p><strong>Discount:</strong> ${{ order['Discount__c'] }}</p>
121
  <p><strong>Total Bill:</strong> ${{ order['Total_Bill__c'] }}</p>
 
114
  {% for order in orders %}
115
  <div class="order-card {% if loop.index > 3 %}hidden{% endif %}">
116
  <p><strong>Date:</strong> {{ order['CreatedDate'][:10] }}</p>
117
+ <p><strong>Order:</strong> {{ order['Order_Details__c'] }}</p> <!-- Order details without the image -->
 
118
  <p><strong>Total Amount:</strong> ${{ order['Total_Amount__c'] }}</p>
119
  <p><strong>Discount:</strong> ${{ order['Discount__c'] }}</p>
120
  <p><strong>Total Bill:</strong> ${{ order['Total_Bill__c'] }}</p>