|
|
@@ -131,18 +131,10 @@ class EditAccountDataProvider extends BaseDataProvider
|
|
|
$this->data['status'] = $account['isEnabled'];
|
|
|
$this->data['company'] = $address['contacts'][0]['companyName'];
|
|
|
$this->data['title'] = $address['contacts'][0]['titleBefore'];
|
|
|
- $this->data['phone'] = $address['contacts'][0]['phoneNumberWorkVoice'];
|
|
|
- $this->data['home_phone'] = '';
|
|
|
+ $this->data['home_phone'] = $address['contacts'][0]['phoneNumberWorkVoice'];
|
|
|
$this->data['mobile_phone'] = $address['contacts'][0]['phoneNumberMobile'];
|
|
|
- $this->data['fax'] = '';
|
|
|
- $this->data['pager'] = '';
|
|
|
- $this->data['country'] = $address['contacts'][0]['postalAddressWork']['country'];
|
|
|
- $this->data['city'] = $address['contacts'][0]['postalAddressWork'][''];
|
|
|
- $this->data['street'] = $address['contacts'][0]['postalAddressWork'][''];
|
|
|
- $this->data['post_code'] = $address['contacts'][0]['postalAddressWork'][''];
|
|
|
- $this->data['currentCosId'] = '';
|
|
|
- $this->data['cosId'] = '';
|
|
|
- $this->data['state'] = $address['contacts'][0]['postalAddressWork'][''];
|
|
|
+ $this->data['department'] = $address['contacts'][0]['departmentName'];
|
|
|
+ $this->data['profession'] = $address['contacts'][0][''];
|
|
|
|
|
|
logModuleCall(
|
|
|
'kerioEmail',
|