How to generate a PDF including fields of son entity?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lj4353
    Senior Member
    • Nov 2023
    • 123

    How to generate a PDF including fields of son entity?


    I have created two entities, otherIncome and bonus, which have a one-to-many relationship. When I generate a PDF by printing otherIncome, I need to include fields from the bonus table. How can I achieve this? When printing otherIncome, I cannot find the placeholders for fields from the bonus table.​
  • shalmaxb
    Senior Member
    • Mar 2015
    • 1620

    #2
    In case of related records, the placeholders ar not provided in the drop down. You will have to find them in your realted entity and type in manually, like:

    {{account.name}}, where account is the related entity, name the field you want to print out.

    See also here: https://docs.espocrm.com/user-guide/printing-to-pdf/

    Comment

    • yuri
      Member
      • Mar 2014
      • 8624

      #3
      Posted in the wrong category. Tutorials are not meant for help requests.
      If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

      Comment

      Working...