Subbu1304 commited on
Commit
9fbd50c
·
verified ·
1 Parent(s): 167e922

Update templates/order.html

Browse files
Files changed (1) hide show
  1. templates/order.html +18 -1
templates/order.html CHANGED
@@ -170,7 +170,7 @@
170
  <p class="cart-item-actions">${{ "%.2f"|format(order.Total_Bill__c) }}</p>
171
  </div>
172
  </div> -->
173
- <div class="container">
174
  <div class="d-flex justify-content-between mb-3">
175
  <p><strong>Sub-Total:</strong></p>
176
  <p class="cart-item-actions" style="font-size: 16px;">${{ order.Total_Amount__c }}</p>
@@ -184,10 +184,27 @@
184
  <p><strong>Total Bill:</strong></p>
185
  <p class="cart-item-actions" style="font-size: 16px;">${{ "%.2f"|format(order.Total_Bill__c) }}</p>
186
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
187
  </div>
188
 
189
 
190
 
 
191
  </div>
192
 
193
 
 
170
  <p class="cart-item-actions">${{ "%.2f"|format(order.Total_Bill__c) }}</p>
171
  </div>
172
  </div> -->
173
+ <!-- <div class="container">
174
  <div class="d-flex justify-content-between mb-3">
175
  <p><strong>Sub-Total:</strong></p>
176
  <p class="cart-item-actions" style="font-size: 16px;">${{ order.Total_Amount__c }}</p>
 
184
  <p><strong>Total Bill:</strong></p>
185
  <p class="cart-item-actions" style="font-size: 16px;">${{ "%.2f"|format(order.Total_Bill__c) }}</p>
186
  </div>
187
+ </div> -->
188
+ <div class="container">
189
+ <div class="d-flex justify-content-between mb-3">
190
+ <p><strong>Sub-Total:</strong></p>
191
+ <p class="cart-item-actions" style="font-size: 16px;">${{ order.Total_Amount__c }}</p>
192
+ </div>
193
+ <div class="d-flex justify-content-between mb-3">
194
+ <p><strong>Discount:</strong></p>
195
+ <p class="cart-item-actions" style="font-size: 16px;">${{ "%.2f"|format(order.Discount__c) }}</p>
196
+ </div>
197
+ <!-- Move dotted line above Total Bill -->
198
+ <div style="border-bottom: 1px dotted #000; margin-bottom: 10px;"></div>
199
+ <div class="d-flex justify-content-between mb-3">
200
+ <p><strong>Total Bill:</strong></p>
201
+ <p class="cart-item-actions" style="font-size: 16px;">${{ "%.2f"|format(order.Total_Bill__c) }}</p>
202
+ </div>
203
  </div>
204
 
205
 
206
 
207
+
208
  </div>
209
 
210