diff --git a/erpnext/accounts/report/accounts_receivable/accounts_receivable.html b/erpnext/accounts/report/accounts_receivable/accounts_receivable.html
index 791f3f8008b..bb0d0a132a5 100644
--- a/erpnext/accounts/report/accounts_receivable/accounts_receivable.html
+++ b/erpnext/accounts/report/accounts_receivable/accounts_receivable.html
@@ -218,15 +218,15 @@
|
{%= __("Total") %} |
- {%= format_currency(data[i]["invoiced"], data[i]["currency"] ) %} |
+ {%= format_currency(data[i]["invoiced"], data[0]["currency"] ) %}
{% if(!filters.show_future_payments) { %}
- {%= format_currency(data[i]["paid"], data[i]["currency"]) %} |
- {%= format_currency(data[i]["credit_note"], data[i]["currency"]) %} |
+ {%= format_currency(data[i]["paid"], data[0]["currency"]) %}
+ {%= format_currency(data[i]["credit_note"], data[0]["currency"]) %} |
{% } %}
- {%= format_currency(data[i]["outstanding"], data[i]["currency"]) %} |
+ {%= format_currency(data[i]["outstanding"], data[0]["currency"]) %}
{% if(filters.show_future_payments) { %}
{% if(report.report_name === "Accounts Receivable") { %}
@@ -234,8 +234,8 @@
{%= data[i]["po_no"] %}
{% } %}
{%= data[i]["future_ref"] %} |
- {%= format_currency(data[i]["future_amount"], data[i]["currency"]) %} |
- {%= format_currency(data[i]["remaining_balance"], data[i]["currency"]) %} |
+ {%= format_currency(data[i]["future_amount"], data[0]["currency"]) %} |
+ {%= format_currency(data[i]["remaining_balance"], data[0]["currency"]) %} |
{% } %}
{% } %}
{% } else { %}
@@ -256,10 +256,10 @@
{% } else { %}
{%= __("Total") %} |
{% } %}
- {%= format_currency(data[i]["invoiced"], data[i]["currency"]) %} |
- {%= format_currency(data[i]["paid"], data[i]["currency"]) %} |
- {%= format_currency(data[i]["credit_note"], data[i]["currency"]) %} |
- {%= format_currency(data[i]["outstanding"], data[i]["currency"]) %} |
+ {%= format_currency(data[i]["invoiced"], data[0]["currency"]) %} |
+ {%= format_currency(data[i]["paid"], data[0]["currency"]) %} |
+ {%= format_currency(data[i]["credit_note"], data[0]["currency"]) %} |
+ {%= format_currency(data[i]["outstanding"], data[0]["currency"]) %} |
{% } %}
{% } %}