From: Alexander Smirnov Date: Mon, 12 Aug 2024 10:33:21 +0000 (+0300) Subject: [ERP-137] Дебаг 9 X-Git-Tag: 1.4~36^2~4 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=0a865c5dfefb47694ea6eab8ca5275ce5580e5a4;p=erp24_rep%2Fyii-erp24%2F.git [ERP-137] Дебаг 9 --- diff --git a/erp24/services/MotivationService.php b/erp24/services/MotivationService.php index 01ea3557..68a34eb9 100644 --- a/erp24/services/MotivationService.php +++ b/erp24/services/MotivationService.php @@ -553,6 +553,10 @@ class MotivationService }; } } + if ($code == 6) { + var_dump($sum_type); + die; + } if (!$motivationValue) { $motivationValue = new MotivationValue; $motivationValue->motivation_id = $motivation->id; @@ -568,9 +572,6 @@ class MotivationService if ($motivationValue->getErrors()) { throw new \Exception(Json::encode($motivationValue->getErrors())); } - if ($code == 6) { - var_dump($motivationValue); - } } } }