From: Alexander Smirnov Date: Mon, 2 Sep 2024 11:03:21 +0000 (+0300) Subject: [ERP-130] Дебаг 0054 X-Git-Tag: 1.4~11^2~20 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=4224cf8c3da311b0f89c73331a874e6a3bc63568;p=erp24_rep%2Fyii-erp24%2F.git [ERP-130] Дебаг 0054 --- diff --git a/erp24/services/MotivationService.php b/erp24/services/MotivationService.php index 4fc0a726..6b3fcc0c 100644 --- a/erp24/services/MotivationService.php +++ b/erp24/services/MotivationService.php @@ -459,7 +459,7 @@ class MotivationService ->andWhere(['store_id' => $exportImportTable->export_val]) ->indexBy('type') ->asArray()->all(); - + var_dump($writeOffs); $selfCostProduct = SelfCostProduct::find()->select(['price', 'product_guid']) ->where(['between', 'date', $weekStart, $weekEnd]) ->andWhere(['store_id' => $store_id])