]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
добавил расчет услуг агентов добавил коды
authorVladimir Fomichev <vladimir.fomichev@erp-flowers.ru>
Thu, 29 Aug 2024 15:07:22 +0000 (18:07 +0300)
committerVladimir Fomichev <vladimir.fomichev@erp-flowers.ru>
Thu, 29 Aug 2024 15:07:22 +0000 (18:07 +0300)
erp24/services/MotivationService.php

index 6ae878daa267a9704cd2a07b56e03d7ae006647c..6186c5d9f9718e62be9a9368c1992ca0b27f6974 100644 (file)
@@ -239,6 +239,8 @@ class MotivationService
         foreach (self::$additionalItems as $key => $item) {
             if (!isset($result[$key])) {
                 $result[$key] = array_merge($item, [
+                    'code' => $item['code'],
+                    'name' => $item['name'],
                     'plan' => null,
                     'adjustment' => null,
                     'week1' => null,