{% extends "admin/layout.html" %} {% block title %}Customers - Admin{% endblock %} {% block content %}

Customers {% if status_filter == 'active' %} Active Only {% elif status_filter == 'inactive' %} Inactive Only {% endif %}

{% if status_filter == 'active' %} Customers with active subscriptions {% elif status_filter == 'inactive' %} Customers without active subscriptions {% else %} Manage customer accounts and profiles {% endif %}

{% if status_filter %} Show All {% endif %} Add Customer
All Customers ✓ Active ({{ active_customer_ids|length }}) ⊗ Inactive
{% if customers %} {% for customer in customers %} {% endfor %} {% else %} {% endif %}
Sr. No Name Phone Email Date of Joining Status Actions
{{ loop.index }} {{ customer.full_name }} {{ customer.mobile }} {{ customer.email }} {{ customer.created_at.strftime('%d-%m-%Y') if customer.created_at else 'N/A' }}
{% if customer.is_active %} Account Active {% else %} Account Inactive {% endif %} {% if customer.id in active_customer_ids %} Has Subscription {% else %} No Subscription {% endif %}

No customers found.

Add First Customer
{% endblock %}