From 7243e774c27477ffeb30c0c155af7332697eb3df Mon Sep 17 00:00:00 2001 From: Himanshu Warekar Date: Mon, 26 Aug 2019 12:49:20 +0530 Subject: [PATCH] fix: add city, state and country --- erpnext/public/js/templates/contact_list.html | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/erpnext/public/js/templates/contact_list.html b/erpnext/public/js/templates/contact_list.html index 0a339aa539..0df19bb996 100644 --- a/erpnext/public/js/templates/contact_list.html +++ b/erpnext/public/js/templates/contact_list.html @@ -37,7 +37,17 @@

{% endif %} {% if (contact_list[i].address) { %} - {%= __("Address ") %}: {%= contact_list[i].address %}
+ {%= __("Address ") %}: {%= contact_list[i].address %} + {% if (contact_list[i].city) { %} + , {%= contact_list[i].city %} + {% endif %} + {% if (contact_list[i].state) { %} + , {%= contact_list[i].state %} + {% endif %} + {% if (contact_list[i].country) { %} + , {%= contact_list[i].country %} + {% endif %} +
{% endif %} {% } %}