{% extends 'base.html' %} {% load static %} {% block style %} {% endblock %} {% block title %} All Customers {% endblock %} {% block header %} {% include 'components/header.html' %} {% endblock %} {% block content %} {% if user.is_authenticated %}

Your Profile


Username:  {{ user.username }}

email:  {{ user.email }}

CNIC:  {{ user.cnic }}

Phone Number:  {{ user.PhoneNo }}

{% if request.user.is_authenticated %}

Customer List


{% csrf_token %} {% load crispy_forms_tags %}
{{ form.name|as_crispy_field }}


{% for user in users %} {# #} {% endfor %}
id Name Phone no. Email
{{ user.id }}
{{ user.name }}
{{ user.PhoneNo }} {{ user.email }}
{% endif %}
{% endif %} {% endblock %} {% block footer %} {% include 'components/footer.html' %} {% endblock %}