andre il y a 2 ans
Parent
commit
f62459a4e8

+ 1 - 1
app/UI/Client/EmailAccount/Providers/EditAccountDataProvider.php

@@ -163,7 +163,7 @@ class EditAccountDataProvider extends BaseDataProvider
         $fields['commonName'] = $this->formData['display_name'];
         $fields['companyName'] = $this->formData['company'];
         $fields['titleBefore'] = $this->formData['title'];
-        $fields['phoneNumberWorkVoice'] = $this->formData['home_phone'];
+        $fields['phoneNumberWorkVoice'] = $this->formData['work_phone'];
         $fields['phoneNumberMobile'] = $this->formData['mobile_phone'];
         $fields['departmentName'] = $this->formData['department'];
         $fields['profession'] = $this->formData['profession'];

+ 1 - 1
app/UI/Client/EmailAccount/Sections/EditAdditionalSection.php

@@ -26,7 +26,7 @@ class EditAdditionalSection extends FreeFieldsSection
     {
         $this->generateDoubleSection([new Text('company'), new Text('title')]);
 
-        $this->generateDoubleSection([new Text('home_phone'), new Text('mobile_phone')]);
+        $this->generateDoubleSection([new Text('work_phone'), new Text('mobile_phone')]);
 
         $this->generateDoubleSection([new Text('department'), new Text('profession')]);