From ece2371d18918ca9959144973306777578b73874 Mon Sep 17 00:00:00 2001 From: Alexander Smirnov Date: Mon, 2 Sep 2024 15:23:45 +0300 Subject: [PATCH] =?utf8?q?[ERP-130]=20=D0=94=D0=B5=D0=B1=D0=B0=D0=B3=20013?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/services/MotivationService.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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]) -- 2.39.5