I have child table, items and i need to filter the item whose item_date is less than today’s date.
I need to send an email so i created a email template like below
{% for row in item_details %}
{% if row.date < frappe.utils.today() %}
{{ row.item_name }}
{% endif %}
{% endfor %}
Am getting syntax error. How to get date in jinja template and filter the specific item.
Is frappe.utils.today() works in jinja template?