Jinja template failed in email template (for rfq)

When using plain text format for email template this format works:

Please submit rates for supplying the following materials (delivery rate).
RFQ ID: {{ name }}
Please go to this link for submitting your rates: {{ portal_link }}

image

But changing it to html for little jinja scripting failed.

FYI, the same jinja script works fine for notifications but not here in email template.

Please Change your code

{% for item in doc.items %}
{{ item.item_name }}
{% endfor %}
2 Likes

@anupd write like this

1 Like