From: Alexander Smirnov Date: Mon, 2 Sep 2024 11:06:59 +0000 (+0300) Subject: [ERP-130] Дебаг 006 X-Git-Tag: 1.4~11^2~19 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=23c6ecbeabacd1303cd6ef52952156c8211c0ec5;p=erp24_rep%2Fyii-erp24%2F.git [ERP-130] Дебаг 006 --- 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'])