Subbu1304 commited on
Commit
e0bfb87
·
verified ·
1 Parent(s): 54d5bde

Update templates/order.html

Browse files
Files changed (1) hide show
  1. templates/order.html +16 -4
templates/order.html CHANGED
@@ -149,14 +149,26 @@
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
- <div class="order-summary mt-4 text-center">
153
- <p><strong>Sub-Total:</strong> <span class="total-price">${{ order.Total_Amount__c }}</span></p>
154
- <p><strong>Discount:</strong> <span class="total-price">${{ "%.2f"|format(order.Discount__c) }}</span></p>
155
- <p><strong>Total Bill:</strong> <span class="total-price">${{ "%.2f"|format(order.Total_Bill__c) }}</span></p>
 
 
 
 
 
 
 
 
 
 
 
156
  </div>
157
 
158
 
159
 
 
160
  {% else %}
161
  <p class="text-center">No order details available.</p>
162
  {% endif %}
 
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
+ <div class="container d-flex justify-content-center mt-5">
153
+ <div class="order-summary p-4 border rounded shadow" style="max-width: 400px; background-color: #fff;">
154
+ <div class="d-flex justify-content-between mb-3">
155
+ <p><strong>Sub-Total:</strong></p>
156
+ <p class="total-price">${{ order.Total_Amount__c }}</p>
157
+ </div>
158
+ <div class="d-flex justify-content-between mb-3">
159
+ <p><strong>Discount:</strong></p>
160
+ <p class="total-price">${{ "%.2f"|format(order.Discount__c) }}</p>
161
+ </div>
162
+ <div class="d-flex justify-content-between mb-3">
163
+ <p><strong>Total Bill:</strong></p>
164
+ <p class="total-price">${{ "%.2f"|format(order.Total_Bill__c) }}</p>
165
+ </div>
166
+ </div>
167
  </div>
168
 
169
 
170
 
171
+
172
  {% else %}
173
  <p class="text-center">No order details available.</p>
174
  {% endif %}