I am trying to push child table’s value in email via jinja. But its not working.
<table class="email-inner-table" cellpadding="0" cellspacing="0" border="1" style="border:#d1d8dd; width:100%; border-collapse: collapse; text-align:center; margin:0 auto;">
<tr>
<th align="center" style="padding:8px; background:#EFEFEF; width:20%;">
NAME
</th>
<th style="padding:8px; background:#EFEFEF; width:20%;">
ACTION
</th>
<th style="padding:8px; background:#EFEFEF; width:20%;">
QTY
</th>
<th style="padding:8px; background:#EFEFEF; width:40%;">
NOTES
</th>
</tr>
{% for row in cretaion_panel %}
<tr>
<td align="left" style="padding:6px;">
{{row.name}}
</td>
<td align="center" style="padding:6px;">
{{row.action}}
</td>
<td align="center" style="padding:6px;">
{{row.qty}}
</td>
<td align="left" style="padding:6px;">
{{row.notes}}
</td>
</tr>
{% endfor %}
</table>
creation panel is the name of my child table and notes,name,action,qty are field’s names. Any help.
Also, I am trying to do so using email template (making a custom field of type CODE). Will it work or not. Need help on urgent basis