| {%= __("Date") %} | {%= __("Reference") %} | {% if(filters.show_remarks) { %}{%= __("Remarks") %} | {% } %}{%= __("Age (Days)") %} | {%= __("Invoiced Amount") %} | {%= __("Outstanding Amount") %} | {%= frappe.datetime.str_to_user(data[i]["posting_date"]) %} | {% if(i == data.length - 1) { %} {%= __("Total") %} {% } else { %} {%= data[i]["voucher_no"] %} {% } %} | {% if(filters.show_remarks) { %}{% if(data[i]["remarks"] && data[i]["remarks"] != "No Remarks") { %} {%= data[i]["remarks"] %} {% } %} | {% } %}{%= data[i]["age"] %} | {%= format_currency(data[i]["invoiced"], data[i]["currency"]) %} | {%= format_currency(data[i]["outstanding"], data[i]["currency"]) %} | {% } %}
|---|
| {% for(var i = 0; i < ranges.length; i++) { %} | {%= __(ranges[i]) %} | {% } %}{%= __("Total") %} | |||||
|---|---|---|---|---|---|---|---|
| {%= __("Total Outstanding") %} | {%= format_number(balance_row["age"], null, 2) %} | {%= format_currency(balance_row["range1"], currency) %} | {%= format_currency(balance_row["range2"], currency) %} | {%= format_currency(balance_row["range3"], currency) %} | {%= format_currency(balance_row["range4"], currency) %} | {%= format_currency(balance_row["range5"], currency) %} | {%= format_currency(flt(balance_row["outstanding"]), currency) %} |
{%= __("Printed on {0}", [ frappe.datetime.str_to_user(frappe.datetime.get_datetime_as_string()) ]) %}