Skip to content

NethVoice CTI: Show associated company details in contact view #8156

Description

@viktec

When a contact is associated with a company, the Company section displays only the company name. The additional information stored in the company record is not loaded, even though the company record contains phone, email, notes and address data.

For example, the contact contains the company association:

{
  "firstname": "Bob",
  "lastname": "[REDACTED]",
  "name": "Bob",
  "company": "Example Company",
  "source": "cti",
  "type": "public",
  "workemail": "",
  "workphone": "",
  "workcity": "",
  "workpostalcode": "",
  "workprovince": "",
  "workstreet": ""
}

The associated company record contains the missing information:

{
  "company": "Example Company",
  "name": "-",
  "notes": "[REDACTED]",
  "owner_id": "[REDACTED]",
  "source": "cti",
  "type": "public",
  "workemail": "company@example.com",
  "workphone": "[PHONE]",
  "workcity": "Example City",
  "workpostalcode": "00000",
  "workprovince": "XX",
  "workstreet": "Example Street"
}

Steps to reproduce

  1. Create a company with phone, email and address information.
  2. Create a contact and associate it with that company.
  3. Open the contact details.
  4. Check the Company section.

Expected behavior

The Company section displays the information stored in the associated company record, such as phone, email, notes and address.

Actual behavior

The company is correctly associated with the contact, but only its name is displayed. The other fields in the Company section are shown as empty (-).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugnethvoiceBug or features releted to the NethVoice project

Type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions