nagasurendra commited on
Commit
fe018c1
·
verified ·
1 Parent(s): 3499db6

Update templates/order.html

Browse files
Files changed (1) hide show
  1. templates/order.html +2 -2
templates/order.html CHANGED
@@ -146,8 +146,8 @@
146
  <!-- Total Section -->
147
  <div class="order-summary mt-4">
148
  <p><strong>Sub-Total:</strong> <span class="total-price">${{ order.Total_Amount__c }}</span></p>
149
- <p><strong>Discount:</strong> <span class="total-price">${{ order.Discount__c }}</span></p>
150
- <p><strong>Total Bill:</strong> <span class="total-price">${{ order.Total_Bill__c }}</span></p>
151
  </div>
152
 
153
  {% else %}
 
146
  <!-- Total Section -->
147
  <div class="order-summary mt-4">
148
  <p><strong>Sub-Total:</strong> <span class="total-price">${{ order.Total_Amount__c }}</span></p>
149
+ <p><strong>Discount:</strong> <span class="total-price">${{ "%.2f"|format(order.Discount__c) }}</span></p>
150
+ <p><strong>Total Bill:</strong> <span class="total-price">${{ "%.2f"|format(order.Total_Bill__c) }}</span></p>
151
  </div>
152
 
153
  {% else %}