Bug 42827: Restore values to the Items expected column in parcels.pl
Test plan: 1. Create an order with multiple items and receive the order in full 2. From the vendor record, click Receive shipments 3. You should be in parcels.pl and the table should show your shipments 4. The Items expected column will show 0 even though you ordered multiple items 5. Apply patch and restart_all 6. Refresh the page, the column should now show a value Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
This commit is contained in:
parent
5799159034
commit
d6d95f7d7c
|
|
@ -2432,7 +2432,8 @@ sub GetInvoices {
|
|||
NULL
|
||||
)
|
||||
) AS is_linked_to_subscriptions,
|
||||
SUM(aqorders.quantityreceived) AS receiveditems
|
||||
SUM(aqorders.quantityreceived) AS receiveditems,
|
||||
SUM(aqorders.quantity) AS itemsexpected
|
||||
FROM aqinvoices
|
||||
LEFT JOIN aqbooksellers ON aqbooksellers.id = aqinvoices.booksellerid
|
||||
LEFT JOIN aqorders ON aqorders.invoiceid = aqinvoices.invoiceid
|
||||
|
|
|
|||
Loading…
Reference in New Issue