{% for(const contact of contact_list) { %}

{%= contact.first_name %} {%= contact.last_name %} {% if(contact.is_primary_contact) { %}  ({%= __("Primary") %}) {% } %} {% if(contact.designation){ %} – {%= contact.designation %} {% } %} {%= __("Edit") %}

{% if (contact.phone || contact.mobile_no || contact.phone_nos.length > 0) { %}

{% if(contact.phone) { %} {%= criscostack.utils.escape_html(contact.phone) %} · {%= __("Primary Phone") %}
{% endif %} {% if(contact.mobile_no) { %} {%= criscostack.utils.escape_html(contact.mobile_no) %} · {%= __("Primary Mobile") %}
{% endif %} {% if(contact.phone_nos) { %} {% for(const phone_no of contact.phone_nos) { %} {%= criscostack.utils.escape_html(phone_no.phone) %}
{% } %} {% endif %}

{% endif %} {% if (contact.email_id || contact.email_ids.length > 0) { %}

{% if(contact.email_id) { %} {%= criscostack.utils.escape_html(contact.email_id) %} · {%= __("Primary Email") %}
{% endif %} {% if(contact.email_ids) { %} {% for(const email_id of contact.email_ids) { %} {%= criscostack.utils.escape_html(email_id.email_id) %}
{% } %} {% endif %}

{% endif %} {% if (contact.address) { %}

{%= contact.address %}

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

{%= __("No contacts added yet.") %}

{% } %}