From 9057239c3c92228ba0b957e47b73cc9e01de7891 Mon Sep 17 00:00:00 2001
From: Himanshu Warekar
Date: Mon, 26 Aug 2019 22:40:54 +0530
Subject: [PATCH] fix: display address
---
erpnext/public/js/templates/contact_list.html | 12 +-----------
1 file changed, 1 insertion(+), 11 deletions(-)
diff --git a/erpnext/public/js/templates/contact_list.html b/erpnext/public/js/templates/contact_list.html
index 0df19bb996..0a339aa539 100644
--- a/erpnext/public/js/templates/contact_list.html
+++ b/erpnext/public/js/templates/contact_list.html
@@ -37,17 +37,7 @@
{% endif %}
{% if (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 %}
-
+ {%= __("Address ") %}: {%= contact_list[i].address %}
{% endif %}
{% } %}