->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;
)
->andWhere(['between', 'w.date', $monthStart, $monthEnd])
->andWhere(['ex.entity_id' => $storeId])
- ->andWhere(['nom.category' => null])
+ // ->andWhere(['nom.category' => null])
->andWhere(['<>', 'p1c.components', ''])
->asArray()
->all();