Spaces:
Sleeping
Sleeping
Update templates/order.html
Browse files- 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="
|
153 |
-
<p
|
154 |
-
|
155 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 %}
|