{% if (report.columns.length > 8) { frappe.throw(__("Too many columns. Export the report and print it using a spreadsheet application.")); } %}

{%= __(report.report_name) %}

{%= filters.company %}

{%= filters.fiscal_year %}

{% if (filters.from_date) { %}

{%= dateutil.str_to_user(filters.from_date) %} - {%= dateutil.str_to_user(filters.to_date) %}

{% } %}
{% for(var i=2, l=report.columns.length; i{%= report.columns[i].label %} {% } %} {% for(var j=0, k=data.length; j {% for(var i=2, l=report.columns.length; i {% var fieldname = report.columns[i].field; %} {% if (!is_null(row[fieldname])) { %} {%= format_currency(row[fieldname], row.currency) %} {% } %} {% } %} {% } %}
{%= row.account_name %}

Printed On {%= dateutil.str_to_user(dateutil.get_datetime_as_string()) %}