From 0a865c5dfefb47694ea6eab8ca5275ce5580e5a4 Mon Sep 17 00:00:00 2001 From: Alexander Smirnov Date: Mon, 12 Aug 2024 13:33:21 +0300 Subject: [PATCH] =?utf8?q?[ERP-137]=20=D0=94=D0=B5=D0=B1=D0=B0=D0=B3=209?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/services/MotivationService.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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); - } } } } -- 2.39.5