From 22bb46625b58812a27b5b6d5a76fe92976a3daff Mon Sep 17 00:00:00 2001 From: vladfo Date: Fri, 11 Oct 2024 13:17:28 +0300 Subject: [PATCH] =?utf8?q?=D0=92=D1=8B=D0=B1=D0=BE=D1=80=D0=BA=D0=B0=20?= =?utf8?q?=D0=BF=D0=BE=20type=5Fid?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/services/MotivationService.php | 2 +- erp24/views/motivation/test-self-cost.php | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/erp24/services/MotivationService.php b/erp24/services/MotivationService.php index 43774c2b..b19d6d7a 100644 --- a/erp24/services/MotivationService.php +++ b/erp24/services/MotivationService.php @@ -1962,7 +1962,7 @@ class MotivationService $salesProducts = SalesProducts::find() ->select(['check_id', 'product_id', 'quantity']) ->where(['check_id' => $salesIds]) - + ->andWhere(['type_id' => 1]) ->asArray() ->all(); diff --git a/erp24/views/motivation/test-self-cost.php b/erp24/views/motivation/test-self-cost.php index ed434f7f..39883d26 100644 --- a/erp24/views/motivation/test-self-cost.php +++ b/erp24/views/motivation/test-self-cost.php @@ -55,7 +55,8 @@ $this->title = 'Себестоимость товаров по магазина - + + -- 2.39.5