From: fomichev Date: Thu, 29 May 2025 09:19:53 +0000 (+0300) Subject: убрал проверку по пустой категории X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=72b1d7de6d348ac0c50f1e73ed1dc1fcc64494c5;p=erp24_rep%2Fyii-erp24%2F.git убрал проверку по пустой категории --- diff --git a/erp24/services/AutoPlannogrammaService.php b/erp24/services/AutoPlannogrammaService.php index 31639dd1..148980a2 100644 --- a/erp24/services/AutoPlannogrammaService.php +++ b/erp24/services/AutoPlannogrammaService.php @@ -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();