]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
[ERP-130] Дебаг 012
authorAlexander Smirnov <fredeom@mail.ru>
Mon, 2 Sep 2024 12:22:39 +0000 (15:22 +0300)
committerAlexander Smirnov <fredeom@mail.ru>
Mon, 2 Sep 2024 12:22:39 +0000 (15:22 +0300)
erp24/services/MotivationService.php

index 161f5dcf7db172fb635e03cd8d9bcaed682b3152..8c857de07835fa72ea11f6f47f9dcb2efd3fe6c1 100644 (file)
@@ -460,7 +460,7 @@ class MotivationService
                     ->andWhere(['wo.store_id' => $exportImportTable->export_val])
                     ->asArray()->all();
 
-                $selfCostProduct = SelfCostProduct::find()->select(['price', 'product_guiddate'])
+                $selfCostProduct = SelfCostProduct::find()->select(['price', 'product_guid', 'date'])
                     ->where(['between', 'date', $weekStart, $weekEnd])
                     ->andWhere(['store_id' => $store_id])
                     ->asArray()->all();