From 179e0c1d8da0b8eefaa2b51f545f2de818aa69c0 Mon Sep 17 00:00:00 2001 From: rohitwaghchaure Date: Mon, 20 Nov 2017 11:18:55 +0530 Subject: [PATCH] Added party name in accounts receivable/payable report (#11656) --- .../accounts_receivable/accounts_receivable.html | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) 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 { %}