This commit is contained in:
Aritra Banik
2024-03-24 16:14:37 +05:30
parent e8760ab1a7
commit 53dfa0f257
9 changed files with 51 additions and 12 deletions
+13
View File
@@ -533,6 +533,19 @@
<td> $ 77.99 </td>
<td> May 15, 2015 </td>
</tr>
{% for (id, user) in users.pairs() %}
<tr>
<td class="py-1">
<img src="/a3b/admin/images/faces-clipart/pic-1.png" alt="image" />
</td>
<td> {{user.lastName}} </td>
<td> {{user.email}} </td>
<td> {{user.totalQuantity}} </td>
<td> {{user.totalPrice}} </td>
</tr>
{% endfor %}
<tr>
<td class="py-1">
<img src="/a3b/admin/images/faces-clipart/pic-2.png" alt="image" />
+1
View File
@@ -330,6 +330,7 @@
<tbody>
{% var total: float = 0.0 %}
{% for (id, product) in products.pairs() %}
<div><input type="hidden" name="product" value="{{product.id}}"></div>
<tr>
<td>{{product.name}} <strong class="mx-2">x</strong> {{toFloat(cart[id].quantity)}}</td>
<td>₹{{toFloat(cart[id].quantity)*product.price}}</td>