{%= __(report.report_name) %}

{%= filters.customer || filters.supplier %}

{%= __(filters.ageing_based_on) %} {%= __("Until") %} {%= dateutil.str_to_user(filters.report_date) %}

{% if(report.report_name === "Accounts Receivable" || report.report_name === "Accounts Payable") { %} {% } else { %} {% } %} {% for(var i=0, l=data.length; i {% if(report.report_name === "Accounts Receivable" || report.report_name === "Accounts Payable") { %} {% if(data[i][__("Customer")] || data[i][__("Supplier")]) { %} {% } else { %} {% } %} {% } else { %} {% if(data[i][__("Customer")] || data[i][__("Supplier")]|| " ") { %} {% if((data[i][__("Customer")] || data[i][__("Supplier")]) != __("'Total'")) { %} {% } else { %} {% } %} {% } %} {% } %} {% } %}
{%= __("Date") %} {%= __("Ref") %} {%= (filters.customer || filters.supplier) ? __("Remarks"): __("Party") %} {%= __("Invoiced Amount") %} {%= __("Paid Amount") %} {%= report.report_name === "Accounts Receivable" ? __('Credit Note') : __('Debit Note') %} {%= __("Outstanding Amount") %}{%= (filters.customer || filters.supplier) ? __("Remarks"): __("Party") %} {%= __("Total Invoiced Amount") %} {%= __("Total Paid Amount") %} {%= report.report_name === "Accounts Receivable Summary" ? __('Credit Note Amount') : __('Debit Note Amount') %} {%= __("Total Outstanding Amount") %}
{%= dateutil.str_to_user(data[i][__("Posting Date")]) %} {%= data[i][__("Voucher Type")] %}
{%= data[i][__("Voucher No")] %}
{% if(!(filters.customer || filters.supplier)) { %} {%= data[i][__("Customer Name")] || data[i][__("Customer")] || data[i][__("Supplier Name")] || data[i][__("Supplier")] %}
{%= __("Remarks") %}: {% } %} {%= data[i][__("Remarks")] %}
{%= format_currency(data[i]["Invoiced Amount"], data[i]["currency"]) %} {%= format_currency(data[i]["Paid Amount"], data[i]["currency"]) %} {%= report.report_name === "Accounts Receivable" ? format_currency(data[i]["Credit Note"], data[i]["currency"]) : format_currency(data[i]["Debit Note"], data[i]["currency"]) %} {%= format_currency(data[i]["Outstanding Amount"], data[i]["currency"]) %} {%= __("Total") %} {%= format_currency(data[i]["Invoiced Amount"], data[i]["currency"] ) %} {%= format_currency(data[i]["Paid Amount"], data[i]["currency"]) %} {%= report.report_name === "Accounts Receivable" ? format_currency(data[i]["Credit Note"], data[i]["currency"]) : format_currency(data[i]["Debit Note"], data[i]["currency"]) %} {%= format_currency(data[i]["Outstanding Amount"], data[i]["currency"]) %} {% if(!(filters.customer || filters.supplier)) { %} {%= data[i][__("Customer")] || data[i][__("Supplier")] %}
{%= __("Remarks") %}: {% } %} {%= data[i][__("Remarks")] %}
{%= __("Total") %}{%= format_currency(data[i][__("Total Invoiced Amt")], data[i]["currency"]) %} {%= format_currency(data[i][__("Total Paid Amt")], data[i]["currency"]) %} {%= report.report_name === "Accounts Receivable Summary" ? format_currency(data[i][__("Credit Note Amt")], data[i]["currency"]) : format_currency(data[i][__("Debit Note Amt")], data[i]["currency"]) %} {%= format_currency(data[i][__("Total Outstanding Amt")], data[i]["currency"]) %}

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