andre 2 лет назад
Родитель
Сommit
53bafebe92
1 измененных файлов с 6 добавлено и 0 удалено
  1. 6 0
      app/UI/Client/DistributionList/Providers/EditListDataProvider.php

+ 6 - 0
app/UI/Client/DistributionList/Providers/EditListDataProvider.php

@@ -130,6 +130,12 @@ class EditListDataProvider extends AddListDataProvider
             Kerio::STATUS_ACCEPT   => $lang->absoluteT('Automatically accept')
         ];
         $this->data['sendErrorsToModerator'] = $list[0]['posting']['sendErrorsToModerator'] === TRUE ? ProductParams::SWITCHER_ENABLED : ProductParams::SWITCHER_DISABLED;
+        $this->data['replyEmailAddress']      = $list[0]['replyTo'];
+        $this->availableValues['replyEmailAddress'] = [
+            'Sender' => $lang->absoluteT('Sender'),
+            'ThisList' => $lang->absoluteT('ThisList'),
+            'SenderThisList' => $lang->absoluteT('SenderThisList')
+        ];
 
 
         /**