{% extends 'base.html' %} {% load static %} {% load utils_filters %} {% block title %}Settings - HAVEN GRAZURI ADVANCE{% endblock %} {% block content %}
{% if not is_admin_user %} {% endif %}

Settings

{% if is_admin_user %}

Manage system settings and preferences. Changes are saved automatically.

{% else %}

View system settings and preferences. Read-only mode - Admin access required to modify settings.

{% endif %}

💵 Loan Products

Boost Product

Monthly interest rate for Boost loans

Monthly processing fee for Boost loans

Monthly penalty rate for late Boost loan payments

Minimum loan amount allowed

Maximum loan amount allowed

Boost Plus Product

Monthly interest rate for Boost Plus loans

Monthly processing fee for Boost Plus loans

Monthly penalty rate for late Boost Plus loan payments

Minimum loan amount allowed

Maximum loan amount allowed

Mwamba Product

Monthly interest rate for Mwamba loans

One-time processing fee

Monthly penalty rate for late Mwamba loan payments

Minimum loan amount allowed

Maximum loan amount allowed

Imara Product

Monthly interest rate for Imara loans

One-time processing fee

Monthly penalty rate for late Imara loan payments

Minimum loan amount allowed

Maximum loan amount allowed

General Loan Settings

Monthly penalty rate for late payments

Minimum credit score for auto-approval

📊 Reports & Statements

Configure reporting settings and system preferences

Customer Requests

Manage customer service requests and inquiries

Report Generation

How often to refresh the reports dashboard automatically

Default time period for generating reports

Send daily/weekly reports via email

Analytics & Insights

Enable detailed customer interaction tracking

Enable predictive analytics and ML insights

{% for category, category_name in categories %} {% if category != 'loan' %}

⚙️ {{ category_name }}

{% for setting in settings|get_item:category %}

{{ setting.description }}

{% if setting.is_public or user.is_staff %}
{% else %} Restricted {% endif %}
{% endfor %}
{% endif %} {% endfor %}
{% if is_admin_user %}

💾 System Backup

Create a complete backup of your system including database, media files, and configuration.

⬇️ Create System Backup
{% endif %} {% if is_admin_user and default_role_permissions %}

🛡️ Default Access Levels by Role

Configure default permissions that will be automatically assigned to new users based on their role. These can be overridden on a per-user basis.

{% for role in roles %}

🏷️ {{ role|replace }}

{% with role_perms=default_role_permissions|get_item:role %} {% if role_perms %}
{% for module, actions in role_perms.items %}
📦 {{ module|replace }}
{% for action_data in actions %} {% comment %}Convert module name to code for API call{% endcomment %} {% with module_code=module|lower|cut:" "|cut:"&"|cut:"-" %}
{% endwith %} {% endfor %}
{% endfor %}
{% else %}

No default permissions configured for this role yet.

{% endif %} {% endwith %}
{% endfor %}
{% endif %} {% endblock %} {% block extra_js %} {% endblock %}