{%= __(report.report_name) %}
{% if (subtitle && subtitle.trim()) { %}
{{ subtitle }}
{% } else { %}
{%= __("Supplier") %}: {%= (filters.party && filters.party.length && filters.party.join(", ")) || __("All Parties") %}
{%= __("Ageing Based On") %}: {%= __(filters.ageing_based_on) %}
{%= __("As on Date") %}: {%= frappe.datetime.str_to_user(filters.report_date) %}
{% } %}
{% for (var i = 0, l = data.length; i < l; i++) { var row = data[i]; if (!(row.party || row.is_total_row)) continue; %} {% } %}
{%= __("Supplier") %} {%= __("Total Invoiced Amount") %} {%= __("Total Paid Amount") %} {%= __("Debit Note Amount") %} {%= __("Total Outstanding Amount") %}
{% if (row.is_total_row) { %} {%= __("Total") %} {% } else { %} {%= row.party %} {% } %} {%= format_currency(row.invoiced, row.currency) %} {%= format_currency(row.paid, row.currency) %} {%= format_currency(row.debit_note, row.currency) %} {%= format_currency(row.outstanding, row.currency) %}

{%= __("Printed on {0}", [ frappe.datetime.str_to_user(frappe.datetime.get_datetime_as_string()) ]) %}