Bug 24162: Add quantity column to the late orders page

This patch add a new column "quantity" to the late orders page

Test plan:
1. Create some orders, close the basket
2. Go to the "Late orders" page
=> You should see a new column "quantity" that contains the number of
items of the order

Sponsored-by: Cork Institute of Technology
Signed-off-by: Devinim <kohadevinim@devinim.com.tr>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Jonathan Druart 2020-01-09 17:28:09 +01:00 committed by Martin Renvoize
parent a02f0b0777
commit dccf4518d4
Signed by: martin.renvoize
GPG key ID: 422B469130441A0F

View file

@ -63,6 +63,7 @@
<th class="title-string">Estimated delivery date</th>
<th>Vendor</th>
<th class="anti-the">Information</th>
<th>Quantity</th>
<th>Total cost</th>
<th>Basket</th>
<th>Basket group</th>
@ -107,6 +108,7 @@
[% END %]
[% END %]
</td>
<td>[% lateorder.quantity %]</td>
<td>
[% SET subtotal = (lateorder.quantity - lateorder.quantityreceived) * lateorder.rrp %]
[% SET total = total + subtotal %]
@ -175,7 +177,7 @@
<tr>
<th colspan="6">Total</th>
<th>[% total | $Price %]</th>
<th colspan="9">&nbsp;</th>
<th colspan="10">&nbsp;</th>
</tr>
</tfoot>
</table>