{% if(filters.show_pdc_in_print) { %} {% } %}
{%= __(" ") %} | {%= __(range1) %} | {%= __(range2) %} | {%= __(range3) %} | {%= __(range4) %} | {%= __("Total") %} |
---|---|---|---|---|---|
{%= __("Total Outstanding") %} | {%= format_currency(balance_row[range1]) %} | {%= format_currency(balance_row[range2]) %} | {%= format_currency(balance_row[range3]) %} | {%= format_currency(balance_row[range4]) %} | {%= format_currency(flt(balance_row[__("Outstanding Amount")]), data[data.length-1]["currency"]) %} | {%= __("PDC/LC") %} | {%= format_currency(flt(balance_row[__("PDC/LC Amount")]), data[data.length-1]["currency"]) %} |
{%= __("Cheques Required") %} | {%= format_currency(flt(balance_row[__("Outstanding Amount")]-balance_row[__("PDC/LC Amount")]), data[data.length-1]["currency"]) %} |
{%= __("Date") %} | {%= __("Reference") %} | {% if(!filters.show_pdc_in_print) { %}{%= (filters.customer || filters.supplier) ? __("Remarks"): __("Party") %} | {% } %}{%= __("Invoiced Amount") %} | {% if(!filters.show_pdc_in_print) { %}{%= __("Paid Amount") %} | {%= report.report_name === "Accounts Receivable" ? __('Credit Note') : __('Debit Note') %} | {% } %}{%= __("Outstanding Amount") %} | {% if(filters.show_pdc_in_print) { %} {% if(report.report_name === "Accounts Receivable") { %}{%= __("Customer LPO No.") %} | {% } %}{%= __("PDC/LC Date") %} | {%= __("PDC/LC Ref") %} | {%= __("PDC/LC Amount") %} | {%= __("Remaining Balance") %} | {% } %} {% } else { %}{%= (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"]) %} |
{% if(!filters.show_pdc_in_print) { %}
{%= data[i]["voucher_type"] %}
{% } %} {%= data[i]["voucher_no"] %} |
{% if(!filters.show_pdc_in_print) { %}
{% if(!(filters.customer || filters.supplier)) { %}
{%= data[i][__("Customer")] || data[i][__("Supplier")] %}
{% if(data[i][__("Customer Name")] && data[i][__("Customer Name")] != data[i][__("Customer")]) { %}
{%= data[i][__("Customer Name")] %} {% } else if(data[i][__("Supplier Name")] != data[i][__("Supplier")]) { %} {%= data[i][__("Supplier Name")] %} {% } %} {% } %} {%= __("Remarks") %}: {%= data[i][__("Remarks")] %} |
{% } %}
{%= format_currency(data[i]["Invoiced Amount"], data[i]["currency"]) %} | {% if(!filters.show_pdc_in_print) { %}{%= 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.show_pdc_in_print) { %} {% if(report.report_name === "Accounts Receivable") { %}{%= data[i][__("Customer LPO")] %} | {% } %}{%= frappe.datetime.str_to_user(data[i][__("PDC/LC Date")]) %} | {%= data[i][__("PDC/LC Ref")] %} | {%= format_currency(data[i][__("PDC/LC Amount")], data[i]["currency"]) %} | {%= format_currency(data[i][__("Remaining Balance")], data[i]["currency"]) %} | {% } %} {% } else { %}{% if(!filters.show_pdc_in_print) { %} | {% } %} | {%= __("Total") %} | {%= format_currency(data[i]["Invoiced Amount"], data[i]["currency"] ) %} | {% if(!filters.show_pdc_in_print) { %}{%= 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.show_pdc_in_print) { %} {% if(report.report_name === "Accounts Receivable") { %}{%= data[i][__("Customer LPO")] %} | {% } %}{%= frappe.datetime.str_to_user(data[i][__("PDC/LC Date")]) %} | {%= data[i][__("PDC/LC Ref")] %} | {%= format_currency(data[i][__("PDC/LC Amount")], data[i]["currency"]) %} | {%= format_currency(data[i][__("Remaining Balance")], data[i]["currency"]) %} | {% } %} {% } %} {% } else { %} {% if(data[i][__("Customer")] || data[i][__("Supplier")]|| " ") { %} {% if((data[i][__("Customer")] || data[i][__("Supplier")]) != __("'Total'")) { %}
{% if(!(filters.customer || filters.supplier)) { %}
{%= data[i][__("Customer")] || data[i][__("Supplier")] %}
{% if(data[i][__("Customer Name")] && data[i][__("Customer Name")] != data[i][__("Customer")]) { %}
{%= data[i][__("Customer Name")] %} {% } else if(data[i][__("Supplier Name")] != data[i][__("Supplier")]) { %} {%= data[i][__("Supplier Name")] %} {% } %} {% } %} {%= __("Remarks") %}: {%= data[i][__("Remarks")] %} |
{% } else { %}
{%= __("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()) %}