Announcement

Collapse
No announcement yet.

Contacts names in PDF template

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

  • Contacts names in PDF template

    Hi i have been trying to prints related contacts name on a pdf template with no success.

    STEPS.

    - fresh espoCRM installation (v 5.2.5 )
    - create few Contacts
    - create an Opportunity and add the contacts to it.
    - create a Template and add contactsNames
    - print Opportunity to PDF

    Tried to iterate the value also tried to print it as is.

    How can contacts names can be printed on pdf template?

  • #2
    Hi,

    Currently it's not supported. Planned for the future. It will be documented how to.

    Comment


    • #3
      Hi yuri thanks for the implementation. there is a new issue though.

      Now we are able to iterate through the contactsNames but the data inside are duplicated.
      Ive tracked the issue down in
      PHP Code:
        Espo\Core\Htmlizer 
      it adds the extra keys with the _RAW appended to them in "getDataFromEntity()"

      the handlebars has no helper to filter those out and there is not much to do in the pdf template to fix this issue.

      Comment


      • #4

        Comment


        • ChrisChristou
          ChrisChristou commented
          Editing a comment
          Thanks didnt recheck the documentation my bad.
      Working...
      X