]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
убрал проверку по пустой категории
authorfomichev <vladimir.fomichev@erp-flowers.ru>
Thu, 29 May 2025 09:19:53 +0000 (12:19 +0300)
committerfomichev <vladimir.fomichev@erp-flowers.ru>
Thu, 29 May 2025 09:19:53 +0000 (12:19 +0300)
erp24/services/AutoPlannogrammaService.php

index 31639dd1159e98ebba85a6c697844eb635c7eba0..148980a2e881803c8b3317a22e1504e2c9669529 100644 (file)
@@ -792,7 +792,7 @@ class AutoPlannogrammaService
                 ->andWhere(['not', ['s.operation'   => ['Удален', 'Удаление']]])
                 ->andWhere(['between', 's.date', $monthStart, $monthEnd])
                 ->andWhere(['not', ['p1c.components' => '']])
-                ->andWhere(['nom.category' => null])
+               // ->andWhere(['nom.category' => null])
                 ->asArray()
                 ->all();
         $unmarkedProducts = $salesProducts;
@@ -827,7 +827,7 @@ class AutoPlannogrammaService
                 )
                 ->andWhere(['between', 'w.date', $monthStart, $monthEnd])
                 ->andWhere(['ex.entity_id' => $storeId])
-                ->andWhere(['nom.category' => null])
+               // ->andWhere(['nom.category' => null])
                 ->andWhere(['<>', 'p1c.components', ''])
                 ->asArray()
                 ->all();