From: marina Date: Wed, 14 Aug 2024 07:24:02 +0000 (+0300) Subject: ERP-85 Реализовать обмен данных с 1С Бухгалтерия X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=c9df1050fa0e4a6ad354edf2efa573538ee4fd3e;p=erp24_rep%2Fyii-erp24%2F.git ERP-85 Реализовать обмен данных с 1С Бухгалтерия --- diff --git a/erp24/services/MotivationService.php b/erp24/services/MotivationService.php index 932320bd..2c198312 100644 --- a/erp24/services/MotivationService.php +++ b/erp24/services/MotivationService.php @@ -291,6 +291,7 @@ class MotivationService 'motivation_group_id' => $motivationValueGroup->id, 'value_id' => $row[0] ])->one(); + return $motivationValue; /** @var $motivationValue MotivationValue */ if (!$motivationValue) { $motivationValue = new MotivationValue;