From fbf965134f518f9e553efd0a439e173a40ada1b0 Mon Sep 17 00:00:00 2001 From: Alexander Smirnov Date: Mon, 2 Sep 2024 13:58:28 +0300 Subject: [PATCH] =?utf8?q?[ERP-130]=20=D0=94=D0=B5=D0=B1=D0=B0=D0=B3=20004?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/services/MotivationService.php | 1 + 1 file changed, 1 insertion(+) diff --git a/erp24/services/MotivationService.php b/erp24/services/MotivationService.php index 9db0da2d..4fc0a726 100644 --- a/erp24/services/MotivationService.php +++ b/erp24/services/MotivationService.php @@ -484,6 +484,7 @@ class MotivationService $motivationCostsItem = MotivationCostsItem::find()->where(['name' => $motivationItemType])->one(); /** @var $motivationCostsItem MotivationCostsItem */ if ($motivation && $motivationCostsItem) { + var_dump($sum); self::saveOrUpdateMotivationValue($motivation->id, 'week' . $ind, $motivationCostsItem->code, MotivationCostsItem::DATA_TYPE_FLOAT, $sum); } -- 2.39.5