Ignore refunded products in extended info for analytic orders report
This commit is contained in:
parent
fd26bc11c7
commit
455f4d3ea9
|
@ -489,8 +489,9 @@ class DataStore extends ReportsDataStore implements DataStoreInterface {
|
||||||
ELSE product_id
|
ELSE product_id
|
||||||
END
|
END
|
||||||
)
|
)
|
||||||
WHERE
|
WHERE 1 = 1
|
||||||
order_id IN ({$included_order_ids})
|
AND order_id IN ({$included_order_ids})
|
||||||
|
AND product_qty > 0
|
||||||
",
|
",
|
||||||
ARRAY_A
|
ARRAY_A
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue