@@ -136,6 +136,7 @@ class ReportController extends BackendController | |||
FROM `order`, product_order, product | |||
WHERE `order`.id = product_order.id_order | |||
AND product_order.id_product = product.id | |||
AND `order`.date_delete IS NULL | |||
".$conditionUsers." | |||
".$conditionPointsSale." | |||
".$conditionDistributions." |