diff --git a/erpnext/public/js/templates/contact_list.html b/erpnext/public/js/templates/contact_list.html index ac192eaa0a5..c4c058c117b 100644 --- a/erpnext/public/js/templates/contact_list.html +++ b/erpnext/public/js/templates/contact_list.html @@ -10,7 +10,14 @@ {% if(contact_list[i].is_primary_contact) { %} {%= __("Primary") %}{% } %} -

{%= __("Phone") %}: {%= contact_list[i].phone %}

+

+ {% if(contact_list[i].phone) { %} + {%= __("Phone") %}: {%= contact_list[i].phone %}
+ {% } %} + {% if(contact_list[i].email_id) { %} + {%= __("Email Id") %}: {%= contact_list[i].email_id %} + {% } %} +

{% } %} {% if(!contact_list.length) { %}