Support for nested {{#each}} iterator in PDF and email templates

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Tuan
    Junior Member
    • May 2019
    • 2

    Support for nested {{#each}} iterator in PDF and email templates

    It seems that nested {{#each}} iterators are not yet supported in PDF templates. For example, the following construct does not work with the "Sales Orders" entity in espodemo:

    {{#each quote}}
    Amount: {{amount}}
    {{#each opportunity}}
    Opportunity: {{name}}
    {{/each}
    {{/each}}
  • yuri
    Member
    • Mar 2014
    • 8453

    #2
    I don'y know what do you mean. #each is supported and works well. Your example is not correct.
    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

    • Darkcromb
      Member
      • Aug 2019
      • 40

      #3
      I have the same problem.
      Is it possible to do that ?
      {{#each B}}
      {{#each C}}
      {{name}}
      {{/each}}
      {{/each}}


      https://forum.espocrm.com/forum/deve...-pdf-templates

      Comment

      Working...