diff --git a/erpnext/accounts/report/accounts_receivable/accounts_receivable.html b/erpnext/accounts/report/accounts_receivable/accounts_receivable.html
index ba847c00615..390bb27fd5c 100644
--- a/erpnext/accounts/report/accounts_receivable/accounts_receivable.html
+++ b/erpnext/accounts/report/accounts_receivable/accounts_receivable.html
@@ -21,11 +21,13 @@
{%= __("Party") %} |
{%= __("Invoiced Amount") %} |
{%= __("Paid Amount") %} |
+ {%= report.report_name === "Accounts Receivable" ? __('Credit Note') : __('Debit Note') %} |
{%= __("Outstanding Amount") %} |
{% } else { %}
{%= __("Party") %} |
{%= __("Total Invoiced Amount") %} |
{%= __("Total Paid Amount") %} |
+ {%= report.report_name === "Accounts Receivable Summary" ? __('Credit Note Amount') : __('Debit Note Amount') %} |
{%= __("Total Outstanding Amount") %} |
{% } %}
@@ -44,6 +46,8 @@
{%= 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"]) %} |
{% } else { %}
@@ -54,6 +58,7 @@
{%= format_currency(data[i]["Invoiced Amount"]) %}
{%= format_currency(data[i]["Paid Amount"]) %} |
+ {% report.report_name === "Accounts Receivable" ? format_currency(data[i][__("Credit Note Amt")]) : format_currency(data[i][__("Debit Note Amt")]) %} |
{%= format_currency(data[i]["Outstanding Amount"]) %} |
{% } %}
@@ -67,6 +72,7 @@
{% } %}
{%= format_currency(data[i][__("Total Invoiced Amt")]) %} |
{%= format_currency(data[i][__("Total Paid Amt")]) %} |
+ {%= report.report_name === "Accounts Receivable Summary" ? format_currency(data[i][__("Credit Note Amt")]) : format_currency(data[i][__("Debit Note Amt")]) %} |
{%= format_currency(data[i][__("Total Outstanding Amt")]) %} |
{% } %}
{% } %}