ソースを参照

edit ressource

andre 2 年 前
コミット
63e5178d71

+ 1 - 1
app/UI/Client/Ressource/Providers/EditRessourceDataProvider.php

@@ -84,7 +84,7 @@ class EditRessourceDataProvider extends BaseDataProvider
         $this->data['status']        = $ressource[0]['isEnabled'] == true ? Kerio::ACC_STATUS_ACTIVE : Kerio::ACC_STATUS_CLOSED;
         $this->data['type']          = $ressource[0]['type'] === 'Room' ? di('lang')->absoluteT('kerio','ressource','type','location') : di('lang')->absoluteT('kerio','ressource','type','equipment');;
         $this->data['description']   = $ressource[0]['description'];
-        $this->data['manager']       = $ressource[0]['magager'];
+        $this->data['manager']       = $ressource[0]['magager']['name'] . '@' . $ressource[0]['magager']['domainName'];
 
         logModuleCall(
             'kerioEmail',