{% extends "base.html" %} {% load static %} {% block title %}Client | My Value Trip{% endblock %} {% block content %}
Manage Client
{% for client in data %} {% comment %} {% endcomment %} {% endfor %}
# Code Client Name Contact No Email City Company Type Created On Status Action
{{ forloop.counter }} {{ client.client_code }} {{ client.full_name }} {{ client.contact_no }} {{ client.email }} {{ client.residential_city }} {{ client.company }} {{ client.type}} {{ client.created_at }} {% if client.client_status == 'active' %} {{ client.client_status|capfirst }} {% else %} {{ client.client_status|capfirst }} {% endif %} {% if client.client_id %} Delete {% else %} No ID {% endif %} {% autoescape off %}{{ client.actions }}{% endautoescape %}
{% comment %} {% for client in data %} {% endfor %}
# Code Client Name Contact No Email City Company Type Created On Status Action
{{ forloop.counter }} {{ client.client_code }} {% if client.id %} {{ client.full_name }} {% else %} {{ client.full_name }} {% endif %} {{ client.contact_no }} {{ client.email }} {{ client.residential_city }} {{ client.company }} {% if client.client_id %} Family Member {% else %} Primary Member {% endif %} {{ client.created_at }} {% if client.client_status == 'active' %} {{ client.client_status|capfirst }} {% else %} {{ client.client_status|capfirst }} {% endif %} {% autoescape off %}{{ client.actions }}{% endautoescape %}
{% endcomment %} {% endblock %}