From: Vladimir Fomichev Date: Thu, 29 Aug 2024 15:07:22 +0000 (+0300) Subject: добавил расчет услуг агентов добавил коды X-Git-Tag: 1.4~15^2~8 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=b30e235d9377f9621eb3ea58c0149b1c00c262a2;p=erp24_rep%2Fyii-erp24%2F.git добавил расчет услуг агентов добавил коды --- diff --git a/erp24/services/MotivationService.php b/erp24/services/MotivationService.php index 6ae878da..6186c5d9 100644 --- a/erp24/services/MotivationService.php +++ b/erp24/services/MotivationService.php @@ -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,