{% if title %}

{{ __(title) }}


{% endif %} {% if subtitle %} {{ subtitle }}
{% endif %} {% for col in columns %} {% if col.name && col._id !== "_check" %} {% endif %} {% endfor %} {% for row in data %} {% for col in columns %} {% if col.name && col._id !== "_check" %} {% var value = col.fieldname ? row[col.fieldname] : row[col.id]; %} {% endif %} {% endfor %} {% endfor %}
# {{ __(col.name) }}
{{ row._index + 1 }} {% format_data = row.is_total_row && ["Currency", "Float"].includes(col.fieldtype) ? data[0] : row %} {% if (row.is_total_row && col._index == 0) { %} {{ __("Total") }} {% } else { %} {{ col.formatter ? col.formatter(row._index, col._index, value, col, format_data, true) : col.format ? col.format(value, row, col, format_data) : col.docfield ? frappe.format(value, col.docfield) : value }} {% } %}