{% extends "base.html" %} {% block title %}{{ role }} dashboard - NGO Foundation{% endblock %} {% block body_class %}{% if role in ['Admin', 'Verifier', 'Finance', 'Volunteer'] or (current_user.is_authenticated and current_user.role.role_name in ['Admin', 'Verifier', 'Finance', 'Volunteer']) %}admin-portal-active{% endif %}{% endblock %} {% block content %} {% if role == 'Verifier' %}
{% include "verifier/_verifier_sidebar.html" %}
{% set topbar_title = 'User Verification' %} {% set topbar_subtitle = 'Home / Identity Scrutiny & Document Verification' %} {% include "admin/_admin_topbar.html" %} {% with messages = get_flashed_messages(with_categories=true) %} {% if messages %}
{% for category, message in messages %} {% endfor %}
{% endif %} {% endwith %}

User Verification & Scrutiny Center

Active Verifier Station

Scrutinize incoming applicant profiles, inspect attached KYC documents, verify identity credentials, and issue official verification decisions (Verify & Approve, Request Clarification, or Decline).

Website
Total
{{ verifier_stats.total_queue|default(0) }}
Total Applications In Queue
{{ verifier_stats.volunteer_count|default(0) }} volunteers, {{ verifier_stats.support_count|default(0) }} support
Action Needed
{{ verifier_stats.pending_count|default(0) }}
Pending Scrutiny
Awaiting verifier review & action
Clarification
{{ verifier_stats.needs_info_count|default(0) }}
Needs Information
Waiting for applicant clarification
Clear
{{ verifier_stats.verified_count|default(0) }}
Verified & Approved
Identity & eligibility confirmed
Volunteer Applications Queue
Identity verification, location, skills, and attached KYC proofs
{{ applications|length }} records
{% for item in applications %} {% else %} {% endfor %}
Reference Applicant Profile Location Skills & Availability KYC Proofs Status Submitted Scrutiny Action
{{ item.reference_id }}
{{ item.name[:2]|upper }}
{{ item.name }}
{% if item.assigned_to == current_user.id %} Assigned to You {% elif item.assigned_to %} Assigned #{{ item.assigned_to }} {% else %} Open Queue {% endif %}
{{ item.district }}
{{ item.state }}
{{ item.skills or 'General Volunteer' }}
{{ item.availability or 'Flexible' }}
{% set app_docs = docs_map.volunteer.get(item.id, []) %} {% if app_docs %} {{ app_docs|length }} KYC File(s) {% else %} No files {% endif %} {{ item.status }} {{ item.submitted_at.strftime('%Y-%m-%d') if item.submitted_at else '—' }}
No volunteer applications in the verification queue.
Beneficiary Support Requests Queue
Urgent aid eligibility scrutiny, contact validation, and problem statement review
{{ support_requests|length }} records
{% for item in support_requests %} {% else %} {% endfor %}
Reference Need Category Contact & Location Problem Statement KYC Proofs Status Submitted Scrutiny Action
{{ item.reference_no }} {{ item.category }}
{{ item.contact_details }}
{{ item.location }}
{{ item.request_text }}
{% set sup_docs = docs_map.support.get(item.id, []) %} {% if sup_docs %} {{ sup_docs|length }} File(s) {% else %} No files {% endif %} {{ item.status }} {{ item.submitted_at.strftime('%Y-%m-%d') if item.submitted_at else '—' }}
No support requests in the verification queue.
Volunteer Candidates Dedicated Queue
Export to Excel
{% for item in applications %} {% endfor %}
Reference Applicant Location Skills Availability KYC Documents Status Actions
{{ item.reference_id }}
{{ item.name }}
{{ item.district }}, {{ item.state }} {{ item.skills or '—' }} {{ item.availability or 'Flexible' }} {% set app_docs = docs_map.volunteer.get(item.id, []) %} {% if app_docs %} {{ app_docs|length }} Attached {% else %} None {% endif %} {{ item.status }}
Beneficiary Support Dedicated Queue
Export to Excel
{% for item in support_requests %} {% endfor %}
Reference Category Contact Details Location Problem Statement Status Actions
{{ item.reference_no }} {{ item.category }} {{ item.contact_details }} {{ item.location }} {{ item.request_text }} {{ item.status }}
Recent Verification Decisions Audit Trail
Immutable scrutiny log for compliance and verification review
{{ recent_reviews|length }} recorded reviews
{% for review in recent_reviews %} {% else %} {% endfor %}
Timestamp Application Type Application ID Decision Outcome Reviewer Notes & Justification
{{ review.reviewed_at.strftime('%Y-%m-%d %H:%M UTC') if review.reviewed_at else '—' }} {{ review.application_type }} #{{ review.application_id }} {{ review.outcome|title }} {{ review.notes or 'No remarks recorded.' }}
No verification reviews have been performed yet.
{% for item in applications %} {% endfor %} {% for item in support_requests %} {% endfor %} {% include "admin/_admin_modals.html" %} {% elif role == 'Finance' %}
{% include "finance/_finance_sidebar.html" %}
{% set topbar_title = 'Donation Reconciliation' %} {% set topbar_subtitle = 'Home / Bank Statement & UPI Match / 80G Tax Receipts' %} {% include "admin/_admin_topbar.html" %} {% with messages = get_flashed_messages(with_categories=true) %} {% if messages %}
{% for category, message in messages %} {% endfor %}
{% endif %} {% endwith %}

Donation Reconciliation & Treasury Center

Active Treasury Station

Reconcile incoming website contributions against bank settlements and UPI UTR references, manage donor 80G tax exemption receipts, and maintain financial compliance audit logs.

Website
Total
₹{{ '{:,.2f}'.format(finance_stats.total_amount|default(0)) }}
Total Collections Volume
{{ finance_stats.total_count|default(0) }} total donations recorded
Reconciled
₹{{ '{:,.2f}'.format(finance_stats.matched_amount|default(0)) }}
Matched & Bank Verified
{{ finance_stats.matched_count|default(0) }} payments reconciled with statement
Action Needed
₹{{ '{:,.2f}'.format(finance_stats.pending_amount|default(0)) }}
Pending Bank / UPI Match
{{ finance_stats.pending_count|default(0) }} awaiting UTR settlement match
Discrepancy
₹{{ '{:,.2f}'.format(finance_stats.disputed_amount|default(0)) }}
Disputed / Refunds
{{ finance_stats.disputed_count|default(0) }} flagged for audit investigation
Donation Reconciliation & Settlement Ledger
Audit transaction IDs, match bank/UPI statements, and generate 80G tax receipts
{{ donations|length }} records
{% for item in donations %} {% else %} {% endfor %}
Reference / Txn ID Donor Profile Contribution Amount Payment Method Bank / UPI Reference Reconciliation Status Date Action & Receipts
{{ item.transaction_id }}
{{ item.donor_name[:2]|upper }}
{{ item.donor_name }}
{{ item.donor_email }}
{{ item.currency }} {{ '%.2f'|format(item.amount) }}
{{ item.payment_method }} {% if item.provider_transaction_id %} {{ item.provider_transaction_id }} {% else %} Awaiting UTR Match {% endif %} {{ item.status|replace('_', ' ')|title }} {{ item.donated_at.strftime('%Y-%m-%d') if item.donated_at else '—' }}
No donation records found in the ledger.
Pending Bank & UPI Reconciliation Queue
Incoming website donations awaiting manual statement or UPI UTR match
{{ finance_stats.pending_count|default(0) }} pending
{% for item in donations if item.status in ['pending_verification', 'pending', 'submitted'] %} {% else %} {% endfor %}
Reference Donor Amount Payment Gateway Date Action
{{ item.transaction_id }}
{{ item.donor_name }}
{{ item.donor_email }}
{{ item.currency }} {{ '%.2f'|format(item.amount) }} {{ item.payment_method }} {{ item.donated_at.strftime('%Y-%m-%d') if item.donated_at else '—' }}
All website donations are reconciled. No pending matches!
Reconciled & Bank-Verified Ledger
Cleared payments verified against Bank Statements & settlement accounts
{{ finance_stats.matched_count|default(0) }} matched
{% for item in donations if item.status in ['matched', 'Completed'] %} {% else %} {% endfor %}
Reference Donor Amount Verified Bank UTR Audit Note Reconciled At Tax Receipt
{{ item.transaction_id }} {{ item.donor_name }} {{ item.currency }} {{ '%.2f'|format(item.amount) }} {{ item.provider_transaction_id or 'Auto-Matched' }} {{ item.reconciliation_note or 'Verified with Bank' }} {{ item.reconciled_at.strftime('%Y-%m-%d %H:%M') if item.reconciled_at else (item.donated_at.strftime('%Y-%m-%d') if item.donated_at else '—') }}
No matched donations found in the ledger.
Disputed & Refunded Transactions Ledger
Chargebacks, gateway failures, and donor refund audit cases
{{ finance_stats.disputed_count|default(0) }} cases
{% for item in donations if item.status in ['disputed', 'failed', 'refunded'] %} {% else %} {% endfor %}
Reference Donor Amount Status Audit Rationale Action
{{ item.transaction_id }} {{ item.donor_name }} {{ item.currency }} {{ '%.2f'|format(item.amount) }} {{ item.status|title }} {{ item.reconciliation_note or 'Flagged for investigation' }}
Zero disputed transactions. Treasury ledger is clean!
Financial Audit Trail & Compliance Log
Immutable ledger actions, UTR matches, and voucher entries for statutory auditing
{{ recent_audit_logs|length }} log entries
{% for log in recent_audit_logs %} {% else %} {% endfor %}
Timestamp Action Type Actor ID Audit Log Details & Metadata
{{ log.timestamp.strftime('%Y-%m-%d %H:%M UTC') if log.timestamp else '—' }} {{ log.action }} User #{{ log.actor }} {{ log.safe_metadata }}
No financial audit logs recorded yet.
{% for item in donations %} {% endfor %} {% include "admin/_admin_modals.html" %} {% elif role == 'Admin' %}
{% include "admin/_admin_sidebar.html" %}
{% set topbar_title = 'Dashboard' %} {% set topbar_subtitle = 'Home / Overview' %} {% include "admin/_admin_topbar.html" %} {% if current_user.is_birthday_today %}

🎉 Happy Birthday, {{ current_user.full_name }}!

The entire NGO Foundation family celebrates you today! Thank you for your leadership, compassion, and tireless dedication towards our mission.

Happy Birthday!
{% endif %}

Good Afternoon, {{ current_user.full_name or 'Super Admin' }} 👋

Here's what's happening with your NGO today.

Today Portal Active
Monthly Donations
Year-to-Date (YTD) contribution trends (Jan - Nov 2026)
Peak: {{ monthly_chart.peak_month if monthly_chart else 'Nov' }} ({{ monthly_chart.peak_val if monthly_chart else '₹10,100' }}) FY {{ monthly_chart.current_year if monthly_chart else 2026 }} YTD
₹12K
₹9K
₹6K
₹3K
₹0
{% set chart_bars = monthly_chart.bars if monthly_chart and monthly_chart.bars else [ {'month': 'Jan', 'height': 29, 'val': '₹3,500', 'is_peak': false}, {'month': 'Feb', 'height': 43, 'val': '₹5,200', 'is_peak': false}, {'month': 'Mar', 'height': 37, 'val': '₹4,400', 'is_peak': false}, {'month': 'Apr', 'height': 57, 'val': '₹6,800', 'is_peak': false}, {'month': 'May', 'height': 63, 'val': '₹7,600', 'is_peak': false}, {'month': 'Jun', 'height': 48, 'val': '₹5,800', 'is_peak': false}, {'month': 'Jul', 'height': 71, 'val': '₹8,500', 'is_peak': false}, {'month': 'Aug', 'height': 60, 'val': '₹7,200', 'is_peak': false}, {'month': 'Sep', 'height': 75, 'val': '₹9,000', 'is_peak': false}, {'month': 'Oct', 'height': 53, 'val': '₹6,400', 'is_peak': false}, {'month': 'Nov', 'height': 85, 'val': '₹10,100', 'is_peak': true} ] %} {% for bar in chart_bars %}
{{ bar.month }}: {{ bar.val }}
{{ bar.month }}
{% endfor %}
{% set metrics = [ ('Volunteer applications', counts.volunteer_total), ('Awaiting volunteer review', counts.volunteer_pending), ('Support requests', counts.support_total), ('Donation records', counts.donation_total) ] %} {% set chart_max = metrics|map(attribute=1)|max %}

Operational volumes

Live application queues and financial processing volume
Live Telemetry
{% for label, value in metrics %} {% set chart_scale = chart_max if chart_max else 1 %}
{{ label }} {{ value }}
{% endfor %}
{% include "admin/_admin_modals.html" %} {% elif role == 'Volunteer' %}
{% include "volunteer/_volunteer_sidebar.html" %}
{% set topbar_title = 'Volunteer Portal' %} {% set topbar_subtitle = 'Home / Application Lifecycle / ID Card & Certificate' %} {% include "admin/_admin_topbar.html" %} {% with messages = get_flashed_messages(with_categories=true) %} {% if messages %}
{% for category, message in messages %} {% endfor %}
{% endif %} {% endwith %}
{% if current_user.is_birthday_today %}

🎉 Happy Birthday, {{ current_user.full_name }}!

The entire NGO Foundation family celebrates you today! Thank you for your selfless dedication, compassion, and tireless efforts towards uplifting and empowering communities. Wishing you happiness, good health, and success!

Special Birthday Celebration
{% endif %}

Welcome, {{ (primary_app.name if primary_app else (current_user.full_name or 'Dedicated Volunteer')) }}

{% if primary_app and primary_app.status in ['Verified', 'Approved'] %} Officially Verified {% elif primary_app and primary_app.status == 'Needs Information' %} Action Required {% else %} {{ primary_app.status if primary_app else 'Active' }} {% endif %}

NGO Foundation Community Service Program • Reference: {{ primary_app.reference_id if primary_app else 'VOL-PORTAL' }}

{% set is_approved_volunteer = (primary_app and primary_app.status in ['Verified', 'Approved']) or (is_approved if is_approved is defined else false) %}
{% if is_approved_volunteer %} {% else %} {% endif %} Website
{% if primary_app and primary_app.status == 'Needs Information' %}
Clarification or Supporting Document Requested
Status: Needs Information

The verification officer reviewed your application ({{ primary_app.reference_id }}) and requested additional clarification or updated proof. Please provide the details or upload the required document below to resume review.

{% set reviews = reviews_map.get(primary_app.id, []) %} {% if reviews and reviews[0].notes %}
Reviewer's Note:
{{ reviews[0].notes }}
{% endif %}
Supported: PDF, JPG, PNG up to 5 MB
{% endif %}
Application Ref
{{ primary_app.reference_id if primary_app else 'No Record' }}
Submitted: {{ primary_app.submitted_at.strftime('%Y-%m-%d') if primary_app and primary_app.submitted_at else '—' }}
Vetting Status
{{ primary_app.status if primary_app else 'Pending' }}
{% if primary_app and primary_app.status in ['Verified', 'Approved'] %} Verified by Foundation {% elif primary_app and primary_app.status == 'Needs Information' %} Response Required {% else %} Under active scrutiny {% endif %}
KYC Document Vault
{{ counts.docs_count|default(0) }} File(s)
View Vault Files
Field Credentials
{% if is_approved_volunteer %}Issued & Valid{% else %}Awaiting Approval{% endif %}
{% if is_approved_volunteer %} ID Card & Certificate ready {% else %} Locked until Super Admin approval {% endif %}
Volunteer Verification Lifecycle
1. Form Submitted
{{ primary_app.submitted_at.strftime('%Y-%m-%d') if primary_app and primary_app.submitted_at else 'Completed' }}
{% if primary_app and primary_app.status in ['Verified', 'Approved'] %} {% elif primary_app and primary_app.status == 'Needs Information' %} {% else %}{% endif %}
2. KYC Scrutiny
{% if primary_app and primary_app.status == 'Needs Information' %}Action Required{% elif primary_app and primary_app.status in ['Verified', 'Approved'] %}Vetted{% else %}In Review{% endif %}
3. Verified
{% if primary_app and primary_app.status in ['Verified', 'Approved'] %}Background Clear{% else %}Pending Scrutiny{% endif %}
4. Credentials Issued
{% if primary_app and primary_app.status in ['Verified', 'Approved'] %}ID & Cert Ready{% else %}Pending{% endif %}
Your Volunteer Profile & Applications
{{ applications|length }} records
{% for item in applications %} {% else %} {% endfor %}
Reference Applicant Name Assigned Region Skills & Profile Submitted Status Credentials
{{ item.reference_id }} {{ item.name }} {{ item.district }}, {{ item.state }} {{ item.skills or 'Community Assistance' }} {{ item.submitted_at.strftime('%Y-%m-%d') if item.submitted_at else '—' }} {{ item.status }}
No volunteer applications linked to your account.
Verified KYC Document Vault

Private document storage repository for identity, address proof, and credentials.

{% set user_docs = docs_map.get(primary_app.id, []) if primary_app else [] %}
{% for doc in user_docs %} {% else %} {% endfor %}
Document Name File Type File Size Uploaded Date Access Level Action
{{ doc.original_name }}
{{ doc.mime_type }} {{ (doc.size / 1024)|round(1) }} KB {{ doc.uploaded_at.strftime('%Y-%m-%d %H:%M') if doc.uploaded_at else '—' }} Verified Private View File
No documents currently attached. Click "Upload Additional Document" to add your Aadhaar or ID proof.
{% if is_approved_volunteer %}
Certificate of Recognition & Voluntary Service

Official accreditation certificate issued by NGO Foundation for dedicated community service.

Official Accreditation Certificate

NGO FOUNDATION

Registered Public Charitable Trust • Reg. No. NGO/DEL/2026/89432 • 80G Certified Non-Profit


This certificate of recognition is proudly presented to

{{ primary_app.name if primary_app else (current_user.full_name or 'Active Volunteer') }}

In sincere recognition and appreciation of exceptional dedication, compassion, and voluntary service rendered towards empowering underserved communities under our {{ primary_app.skills or 'Community Assistance & Field Support' }} program across {{ primary_app.district }}, {{ primary_app.state }}.

Issued: {{ primary_app.submitted_at.strftime('%B %d, %Y') if primary_app and primary_app.submitted_at else 'November 2026' }} Certificate Ref: CERT-{{ primary_app.reference_id if primary_app else 'NGO-2026' }}
Digitally Authenticated
Rajkumar Maurya
Authorised Trustee / Secretary
{% else %}
Super Admin Approval Required

Certificate of Appreciation is Locked

Official certificates of voluntary service are awarded strictly to verified contributors. Your certificate will be generated and unlocked automatically once your volunteer application is reviewed and approved by the Super Admin.

Application Reference {{ primary_app.reference_id if primary_app else 'No Application Submitted' }}
Current Vetting Status {{ primary_app.status if primary_app else 'Pending Application' }}
Approval Authority Super Admin / Foundation Board
{% if not primary_app %} Apply for Volunteer Role {% endif %}
{% endif %}
{% if is_approved_volunteer %}
Official Volunteer Identity Card

Authorized on-ground field accreditation identity card issued by NGO Foundation Trust Administration. Standard ISO/IEC 7810 ID-1 (CR80) PVC Specification.

CARD FRONT (OBVERSE)
NGO FOUNDATION
Public Charitable Trust • Regd. No. NGO/DEL/2026/89432
Official Field Volunteer Identity Card
SECURE PVC
{{ (primary_app.name[:1] if primary_app else (current_user.full_name[:1] if current_user.full_name else 'V'))|upper }}
{{ (primary_app.name if primary_app else (current_user.full_name or 'Mohammad Ajaz'))|upper }}
Accredited Field Volunteer
Volunteer ID: {{ primary_app.reference_id if primary_app else 'VOL-B07BFC5D' }}
Blood Group: B+ (Donor Reg)
Assigned Area: {{ primary_app.district if primary_app else 'South East Delhi' }}, {{ primary_app.state if primary_app else 'Delhi' }}
Core Domain: {{ primary_app.skills or 'Field Outreach & Disaster Relief' }}
Validity Period: 2026 — 2027
CARD BACK (REVERSE)
Field Guidelines & Code of Conduct:
  1. Certifies bearer as an accredited field volunteer of NGO Foundation for verified humanitarian and community relief drives.
  2. Strictly non-transferable. The holder must adhere to Trust ethics, safeguarding policies, and display this badge on duty.
  3. Property of NGO Foundation Trust. If found, please return to any postal box or Trust Central Secretariat address below.
24/7 Field Helpline: +91 98765 43210
Support Email: volunteer@ngo.org
Trust PAN: AAATN1234F 80G Reg: CIT(E)/80G/2026
* {{ primary_app.reference_id if primary_app else 'VOL-B07BFC5D' }} *
Volunteer Sign
NGO TRUST SEAL 2026
Rajkumar Maurya
Director of Operations
Anti-Tamper Security Multi-spectral holographic foil & secure PVC coating.
Hi-Co & Barcode Track 1/2/3 magnetic stripe & Code-128 encoded serial.
Instant QR Verification Live digital verification through central registry.
24/7 Field Dispatch Direct emergency line at +91 98765 43210.
{% else %}
Official ID Card Locked

Volunteer Identity Card Pending Super Admin Approval

Standard ISO/IEC 7810 PVC Volunteer ID Cards with official encrypted QR verification are issued exclusively to accredited field personnel. Your digital and printable card will unlock as soon as your application is approved by the Super Admin.

Volunteer Name {{ primary_app.name if primary_app else (current_user.full_name or 'Applicant') }}
Application ID {{ primary_app.reference_id if primary_app else 'Not Registered' }}
Vetting Status {{ primary_app.status if primary_app else 'Pending Application' }}
Required Action {% if not primary_app %}Submit volunteer application form {% elif primary_app.status == 'Needs Information' %}Upload requested verification documents {% else %}Awaiting Super Admin review & approval{% endif %}
{% if not primary_app %} Submit Application {% else %} {% endif %}
{% endif %}
{% else %}

Workspace

{{ role }} dashboard

Return to website

Your applications & status

Reset password
{% if applications %}
{% for item in applications %} {% endfor %}
ReferenceStatusSubmittedDetails / Actions
{{ item.reference_id }} {{ item.status }} {{ item.submitted_at.strftime('%Y-%m-%d') if item.submitted_at else '—' }} {{ item.district }}, {{ item.state }}
{% else %}

No applications are linked to your account yet.

{% endif %} Submit a new application
{% endif %} {% endblock %}