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

index 9db0da2debb8a571d4ebef52f456a9e587214a03..4fc0a726e8a9d6ecd03f97b2d160d754b9394934 100644 (file)
@@ -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);
                     }