diff --git a/erpnext/accounts/report/accounts_receivable/accounts_receivable.html b/erpnext/accounts/report/accounts_receivable/accounts_receivable.html index 8fafce67812..9d872a49f08 100644 --- a/erpnext/accounts/report/accounts_receivable/accounts_receivable.html +++ b/erpnext/accounts/report/accounts_receivable/accounts_receivable.html @@ -36,8 +36,14 @@
{%= 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][__("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")] %} @@ -66,8 +72,13 @@ {% if(!(filters.customer || filters.supplier)) { %} {%= data[i][__("Customer")] || data[i][__("Supplier")] %} -
{%= __("Remarks") %}: + {% 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 { %}