{% extends 'base.html' %} {% load static %} {% load json_tags %} {% block title %}Dashboard -RuralPointADVANCE{% endblock %} {% block content %}

Dashboard

Total Active Loans

{{ active_loans }}

{% if active_loans_change >= 0 %}Increased{% else %}Decreased{% endif %} by {% if active_loans_change >= 0 %} {% else %} {% endif %} {{ active_loans_change|floatformat:1 }}%

Active Clients

{{ active_users }}

{% if active_users_change >= 0 %}Increased{% else %}Decreased{% endif %} by {% if active_users_change >= 0 %} {% else %} {% endif %} {{ active_users_change|floatformat:1 }}%

Pending Applications

{{ pending_applications }}

{% if pending_applications_change >= 0 %}Increased{% else %}Decreased{% endif %} by {% if pending_applications_change >= 0 %} {% else %} {% endif %} {{ pending_applications_change|floatformat:1 }}%

Default Rate

{{ default_rate|floatformat:1 }}%

{% if default_rate_change <= 0 %}Decreased{% else %}Increased{% endif %} by {% if default_rate_change <= 0 %} {% else %} {% endif %} {{ default_rate_change|floatformat:1 }}%

Loan Performance

Recent Activity

    {% for activity in recent_activity %}
  • {% if not forloop.last %} {% endif %}

    {{ activity.user }} {{ activity.action }}

  • {% empty %}
  • No recent activity

  • {% endfor %}

Loan Distribution

Client Growth

{% endblock %} {% block scripts %} {{ dashboard_data|json_script:"dashboard-data" }} {% endblock %}