From: Alexander Smirnov Date: Mon, 2 Sep 2024 12:22:39 +0000 (+0300) Subject: [ERP-130] Дебаг 012 X-Git-Tag: 1.4~11^2~13 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=c25bffdf92aa50d67a5d7919bb3b9eeb4a825b40;p=erp24_rep%2Fyii-erp24%2F.git [ERP-130] Дебаг 012 --- diff --git a/erp24/services/MotivationService.php b/erp24/services/MotivationService.php index 161f5dcf..8c857de0 100644 --- a/erp24/services/MotivationService.php +++ b/erp24/services/MotivationService.php @@ -460,7 +460,7 @@ class MotivationService ->andWhere(['wo.store_id' => $exportImportTable->export_val]) ->asArray()->all(); - $selfCostProduct = SelfCostProduct::find()->select(['price', 'product_guid, date']) + $selfCostProduct = SelfCostProduct::find()->select(['price', 'product_guid', 'date']) ->where(['between', 'date', $weekStart, $weekEnd]) ->andWhere(['store_id' => $store_id]) ->asArray()->all();