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