From 23c6ecbeabacd1303cd6ef52952156c8211c0ec5 Mon Sep 17 00:00:00 2001 From: Alexander Smirnov Date: Mon, 2 Sep 2024 14:06:59 +0300 Subject: [PATCH] =?utf8?q?[ERP-130]=20=D0=94=D0=B5=D0=B1=D0=B0=D0=B3=20006?= 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 6b3fcc0c..b19e299d 100644 --- a/erp24/services/MotivationService.php +++ b/erp24/services/MotivationService.php @@ -457,7 +457,7 @@ class MotivationService $writeOffs = WriteOffs::find()->select(['items', 'type']) ->where(['between', 'date', $weekStart, $weekEnd]) ->andWhere(['store_id' => $exportImportTable->export_val]) - ->indexBy('type') +// ->indexBy('type') ->asArray()->all(); var_dump($writeOffs); $selfCostProduct = SelfCostProduct::find()->select(['price', 'product_guid']) -- 2.39.5