Fix consultant linked firm clients tab rendering

This commit is contained in:
A R R R Associates
2026-07-31 11:53:27 +05:30
parent 0ffdb540f4
commit d791670003
@@ -20,14 +20,24 @@
{# Dashboard sections are now available from the global Consultant Dashboard menu. #} {# Dashboard sections are now available from the global Consultant Dashboard menu. #}
<section id="consultant-portal-panel"> <section id="consultant-portal-panel">
{% if active_tab == 'work-centre' %} {% if active_tab == 'assigned-work' %}
{% include "modules/consultants/templates/consultants/portal_partials/assigned_work.html" %}
{% elif active_tab == 'clients' %}
{% include "modules/consultants/templates/consultants/portal_partials/clients.html" %}
{% elif active_tab == 'documents' %}
{% include "modules/consultants/templates/consultants/portal_partials/documents.html" %}
{% elif active_tab == 'clarifications' %}
{% include "modules/consultants/templates/consultants/portal_partials/clarifications.html" %}
{% elif active_tab == 'requests' %}
{% include "modules/consultants/templates/consultants/portal_partials/service_requests.html" %}
{% elif active_tab == 'reports' %}
{% include "modules/consultants/templates/consultants/portal_partials/reports.html" %}
{% elif active_tab == 'work-centre' %}
{% include "modules/consultants/templates/consultants/portal_partials/work_centre.html" %} {% include "modules/consultants/templates/consultants/portal_partials/work_centre.html" %}
{% elif active_tab == 'clients-requests' %} {% elif active_tab == 'clients-requests' %}
{% include "modules/consultants/templates/consultants/portal_partials/clients_requests.html" %} {% include "modules/consultants/templates/consultants/portal_partials/clients_requests.html" %}
{% elif active_tab == 'documents-clarifications' %} {% elif active_tab == 'documents-clarifications' %}
{% include "modules/consultants/templates/consultants/portal_partials/documents_clarifications.html" %} {% include "modules/consultants/templates/consultants/portal_partials/documents_clarifications.html" %}
{% elif active_tab == 'reports' %}
{% include "modules/consultants/templates/consultants/portal_partials/reports.html" %}
{% else %} {% else %}
{% include "modules/consultants/templates/consultants/portal_partials/overview.html" %} {% include "modules/consultants/templates/consultants/portal_partials/overview.html" %}
{% endif %} {% endif %}