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
|
||||
END
|
||||
)
|
||||
WHERE
|
||||
order_id IN ({$included_order_ids})
|
||||
WHERE 1 = 1
|
||||
AND order_id IN ({$included_order_ids})
|
||||
AND product_qty > 0
|
||||
",
|
||||
ARRAY_A
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue