{% extends "ui/templates/base/layout.html" %} {% block content %}

{{ row.client_name }}

{{ row.client_code }} • {{ row.client_type }} • {{ row.status|title }}

{% if can_edit %} Edit {% endif %} {% if can_activate and row.status != 'active' and row.status != 'archived' %}
{% endif %} {% if can_deactivate and row.status == 'active' %}
{% endif %} {% if can_archive and row.status != 'archived' %}
{% endif %} {% if can_restore and row.status == 'archived' %}
{% endif %}

Profile

{% for label, value in [ ('Trade Name', row.trade_name), ('PAN', row.pan), ('GSTIN', row.gstin), ('TAN', row.tan), ('Contact Person', row.contact_person_name), ('Designation', row.contact_person_designation), ('Mobile', row.mobile), ('Email', row.email) ] %}
{{ label }}
{{ value or '-' }}
{% endfor %}

Association

Type: {{ row.association_type or 'legacy_firm' }}
Source: {{ row.assoc_created_source or 'legacy' }}
Audit Firm: {{ row.assoc_firm_tenant_id or row.tenant_id or '-' }}
Branch: {{ row.branch_id or '-' }}
Partner: {{ row.assoc_partner_user_id or row.partner_id or '-' }}
Default Review Partner: {{ row.default_review_partner_user_id or '-' }}
Consultant: {{ row.assoc_consultant_id or '-' }}
{% endblock %}