From: Alexander Smirnov Date: Mon, 2 Sep 2024 10:58:28 +0000 (+0300) Subject: [ERP-130] Дебаг 004 X-Git-Tag: 1.4~11^2~21 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=fbf965134f518f9e553efd0a439e173a40ada1b0;p=erp24_rep%2Fyii-erp24%2F.git [ERP-130] Дебаг 004 --- 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); }