{% const report_columns = report .get_columns_for_print() .filter(col => !col.hidden); if (report_columns.length > 8) { frappe.throw( __("Too many columns. Export the report and print it using a spreadsheet application.") ); } %}
| {%= col.label %} | {% } %}
|---|
| {% if (i === 0) { %} {%= String(row.account_name || row.section || "").replace(/^['"]|['"]$/g, "") %} {% } else if (!is_null(value)) { %} {%= frappe.format(value, col, {}, row) %} {% } %} | {% } %}
{%= __("Printed on {0}", [ frappe.datetime.str_to_user(frappe.datetime.get_datetime_as_string()) ]) %}