{% extends "base.html" %} {% block title %}Auto-Pay Recurring Mandates Console - NGO Foundation Admin{% endblock %} {% block body_class %}admin-portal-active{% endblock %} {% block content %}
{% if current_user.role and current_user.role.role_name == 'Finance' %} {% include "finance/_finance_sidebar.html" %} {% else %} {% include "admin/_admin_sidebar.html" %} {% endif %}
{% set topbar_title = 'Auto-Pay Recurring Mandates' %} {% set topbar_subtitle = 'Home / Finance / Automated Monthly Donors' %} {% include "admin/_admin_topbar.html" %} {% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} {% for category, message in messages %} {% endfor %} {% endif %} {% endwith %}

Auto-Pay Recurring Mandates Console

Monitor recurring donor mandates, automate monthly 80G tax receipts, and track collection schedules.

Gateway Settings Recurring Ledger
Total Mandates

{{ total_mandates }}

{{ active_mandates }} Active Donors
Monthly Volume

₹{{ '{:,.2f}'.format(monthly_expected_volume) }}

Expected Auto-Debit
Total Collected

₹{{ '{:,.2f}'.format(total_recurring_collected) }}

{{ successful_recurring_tx }} Successful Debits
Debit Health

{{ failed_recurring_tx }}

Failed Cycles Logged
{% for sub in mandates %} {% else %} {% endfor %}
Mandate ID Donor Name & Contact Monthly Amount Billing Day Next Auto-Debit Cycles / Total Gateway Status Actions
{{ sub.mandate_code }} Start: {{ sub.start_date.strftime('%d-%b-%Y') }} {{ sub.donor_name }}
{{ sub.donor_email }}
{% if sub.donor_phone %}{{ sub.donor_phone }}{% endif %}
{{ sub.formatted_amount }} {{ sub.purpose[:25] }}... {{ sub.billing_day }}th {{ sub.next_billing_date.strftime('%d-%b-%Y') }} {% if sub.last_billing_date %} Last: {{ sub.last_billing_date.strftime('%d-%b-%Y') }} {% endif %} {{ sub.total_cycles_completed }} Cycles
{{ sub.formatted_total_collected }}
{{ sub.gateway }} {{ sub.status }}
No recurring auto-pay mandates registered yet.
{% endblock %}