{% extends "admin/layout.html" %} {% block title %}Customers - Admin{% endblock %} {% block content %}
{% if status_filter == 'active' %} Customers with active subscriptions {% elif status_filter == 'inactive' %} Customers without active subscriptions {% else %} Manage customer accounts and profiles {% endif %}
| Sr. No | Name | Phone | 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 |
||||||