From f4dad087bf75187da8218264f41922a2471c85c9 Mon Sep 17 00:00:00 2001 From: Vladimir Fomichev Date: Wed, 4 Sep 2024 13:06:17 +0300 Subject: [PATCH] =?utf8?q?=D0=B8=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB=D0=B5?= =?utf8?q?=D0=BD=D0=B8=D0=B5=20=D0=BF=D1=80=D0=BE=D0=B2=D0=B5=D1=80=D0=BA?= =?utf8?q?=D0=B8=20=D0=BF=D0=BE=D0=BB=D1=8F=20=D0=BD=D0=B0=20=D0=BF=D1=83?= =?utf8?q?=D1=81=D1=82=D0=BE=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/services/MotivationService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erp24/services/MotivationService.php b/erp24/services/MotivationService.php index fff4ee00..9e60fdaf 100644 --- a/erp24/services/MotivationService.php +++ b/erp24/services/MotivationService.php @@ -1403,7 +1403,7 @@ class MotivationService ->where(['store_id' => $storeId, 'operation' => 'Возврат']) ->andWhere(['>=', 'date', $startDate]) ->andWhere(['<=', 'date', $endDate]) - ->andWhere(['is not', 'sales_check', '']) // Проверяем, что поле sales_check не пустое + ->andWhere(['is not', 'sales_check', null]) // Проверяем, что поле sales_check не пустое ->asArray() ->all(); -- 2.39.5