{% extends 'base.html' %} {% block title %}Client Management - HAVEN GRAZURI ADVANCE{% endblock %} {% block content %}

Client Management

Manage client information, loan history, and documentation.

{% if user.role == 'admin' or user.is_superuser %} โฐPending Approvals โœ•Rejected Clients {% endif %} {% load permission_tags %} {% has_permission user 'clients' 'create' as can_create_client %} {% if can_create_client %} +Add New Client {% endif %}
{% if error_message %}
โš ๏ธ

Error

{{ error_message }}

{% endif %}

Total Clients

{{ total_clients|default:"0" }}

๐Ÿ‘ฅ All active clients

๐Ÿ‘ฅ

Last 30 Days

{{ clients_30_days }}

{% if clients_30_days > 0 %}

โ†‘ New registrations

{% endif %}

Last 60 Days

{{ clients_60_days }}

{% if growth_60_days > 0 %}

โ†‘ +{{ growth_60_days }} this period

{% endif %}

Last 90 Days

{{ clients_90_days }}

{% if growth_90_days > 0 %}

โ†‘ +{{ growth_90_days }} this period

{% endif %}
๐Ÿ“…

Growth Rate

{% if growth_rate_display == 'percentage' and growth_rate_percentage != None %} {% if growth_rate_percentage > 0 %}

+{{ growth_rate_percentage }}%

โ†‘ {{ growth_rate_label }}

{% elif growth_rate_percentage == 0 %}

0%

โˆ’ No change

{% else %}

{{ growth_rate_percentage }}%

โ†“ {{ growth_rate_label }}

{% endif %} {% elif growth_rate_display == 'recent_period' %}

{{ growth_rate_percentage }}

๐Ÿ“… {{ growth_rate_label }}

{% elif growth_rate_display == 'no_data' %}

0

โ„น๏ธ {{ growth_rate_label }}

{% else %}

--

โ„น๏ธ {{ growth_rate_label }}

{% endif %}
๐Ÿ“ˆ
๐Ÿ”
{% if request.GET.search or request.GET.status or request.GET.business_type or request.GET.date_from or request.GET.date_to %} โœ•Clear {% endif %}
{% if request.GET.search or request.GET.status or request.GET.business_type or request.GET.date_from or request.GET.date_to %}
{% if request.GET.search %} Search: "{{ request.GET.search }}" {% endif %} {% if request.GET.status %} Status: {{ request.GET.status|title }} {% endif %} {% if request.GET.business_type %} Business: {{ request.GET.business_type|title }} {% endif %} {% if request.GET.date_from %} From: {{ request.GET.date_from }} {% endif %} {% if request.GET.date_to %} To: {{ request.GET.date_to }} {% endif %}
{% endif %}
{% include 'users/client_list_table.html' %}
{% if clients.has_other_pages %}
{% if clients.has_previous %} Previous {% endif %} {% if clients.has_next %} Next {% endif %}
{% endif %} {% endblock %} {% block scripts %} {% endblock %}