Report Templates : No more rowList in the email body after a 'Reset to default'

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Marc
    Junior Member
    • Nov 2019
    • 8

    Report Templates : No more rowList in the email body after a 'Reset to default'

    edit 11/11
    another way to see the pb https://forum.espocrm.com/forum/bug-...d-on-espocloud

    ====

    Hi there,

    I'am facing a strange problem :

    - 1 : use a personnalized template for reports sendings (OK)
    - 2 : Reset the template to default
    - 3 : Loose the grid layout in the email body (KO)

    => I 've compared the HTML with a working template on other instance - same code
    => I've reseted the template on the other instance - same problem....


    Any idea ?

    Advanced Pack 2.5.15
    EspoCrm 5.9.4 and 6.0.3
    Last edited by Marc; 11-11-2020, 11:20 AM.
  • item
    Active Community Member
    • Mar 2017
    • 1476

    #2
    Hello,
    ok .. but i think rowList
    is not a value but a listOfValue .. so you need to use
    PHP Code:
    <!-- {{#each rowList}} -->
    <tr>
    <td width="17%" style="text-align: center;">&nbsp;{{blabla}}</td>
    
    </tr>
    <!-- {{/each}} --> 
    
    If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

    Comment

    • Marc
      Junior Member
      • Nov 2019
      • 8

      #3
      Thanks Item !

      Comment

      Working...