Announcement

Collapse
No announcement yet.

Show name lead value in /client/res/templates/fields/phone/detail.tpl

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Show name lead value in /client/res/templates/fields/phone/detail.tpl

    Hello how are you. I'm new in the forum.

    To facilitate by contacting by WhatsApp from ESPOCRM with a lead, I have added an option after phone Number field.

    As seen in the attachment, I have edited /client/res/templates/fields/phone/detail.tpl and it works fine.

    But I would like to know how to get the name of the lead to include it in the link that starts the WhatsApp conversation. (See attached image)

    Thank you


  • #2
    Hi Fernando,

    You need to to create a custom view for phone field type. There in js you will need to define additional data that you need and pass it to the template ('data' method).

    Comment

    Working...
    X