{% extends 'base.html' %} {% load static %} {% load humanize %} {% block content %}

Customer Details

{% for customer in page %} {% endfor %}
# Email Address Customer Name Mobile Number Customer Status Registration Status Created At Action
{{ forloop.counter }} {{customer.email}} {{customer.first_name|upper}} {{customer.last_name|upper}} {{customer.mobile}} {% if customer.customer_status == "ACTIVE" %} ACTIVE {% elif customer.customer_status == "INACTIVE" %} INACTIVE {% else %} {{ customer.customer_status }} {% endif %} {% if customer.registration_status == "APPROVED" %} APPROVED {% elif customer.registration_status == "REJECTED" %} REJECTED {% elif customer.registration_status == "PENDING" %} PENDING {% else %} {{ customer.registration_status }} {% endif %} {{customer.created_At}} View
{% if has_entries %} {% if page|length == 1 %}
{{ page.paginator.count }} entry
{% else %}
{{ page.start_index }} to {{ page.end_index }} of {{ page.paginator.count }} entries
{% endif %} {% else %}
No entries
{% endif %}
{% if has_entries %}
Page {{page.number}} of {{page.paginator.num_pages}}
{% endif %}
{% if has_entries %}
    {% if page.has_previous %} {% else %} {% endif %} {% for page_number in page_list %} {% if page_number == page.paginator.ELLIPSIS %} {{page_number}} {% else %} {% if page_number == page.number %}
  • {{page_number}}
  • {% else %}
  • {{page_number}}
  • {% endif %} {% endif %} {% endfor %} {% if page.has_next %} {% else %} {% endif %}
{% endif %}
{% endblock %}