From 23053427903267f511c6815bfb79c025db7fcab3 Mon Sep 17 00:00:00 2001 From: Alexander Smirnov Date: Wed, 22 May 2024 17:16:40 +0300 Subject: [PATCH] fix part 021 --- erp24/modul/shipment/fields/entrance_cnt_7days.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erp24/modul/shipment/fields/entrance_cnt_7days.php b/erp24/modul/shipment/fields/entrance_cnt_7days.php index 0d535aa..4203c0b 100644 --- a/erp24/modul/shipment/fields/entrance_cnt_7days.php +++ b/erp24/modul/shipment/fields/entrance_cnt_7days.php @@ -22,7 +22,7 @@ if (!empty($date_start_sale)) { if(!empty($whereInOrderId)) { - $sql = "SELECT product_id, store_id, value FROM store_orders_fields_data WHERE order_id IN ($whereInOrderId) AND product_id $whereInProductsId AND field_name='division_summ' AND color='' AND value>0 group by product_id, store_id"; + $sql = "SELECT product_id, store_id, value FROM store_orders_fields_data WHERE order_id IN ($whereInOrderId) AND product_id $whereInProductsId AND field_name='division_summ' AND color='' AND value>0 group by product_id, store_id, value"; // var_dump($sql); die; $data=$db::getRows($sql); foreach($data as $row) { -- 2.39.5