{% extends 'base.html' %} {% load i18n static %} {% block title %}{{ _('Leads')|capfirst }}{% endblock title %} {% block content %}

{{ _("Leads")|capfirst }}

{% if page_obj.object_list %}
{% for lead in leads %} {% endfor %} {% endif %}
{{ _("Status")|capfirst }}
{{ _("Name")|capfirst }}
{{ _("email")|capfirst }}
{{ _("Phone Number") }}
{{ _("Source")|capfirst }}
{{ _("Channel")|capfirst }}
{{ _("Create date") }}
{% if lead.status == "new" %} {{_("New")}} {% elif lead.status == "pending" %} {{_("Pending")}} {% elif lead.status == "in_progress" %} {{_("In Progress")}} {% elif lead.status == "qualified" %} {{_("Qualified")}} {% elif lead.status == "canceled" %} {{_("Canceled")}} {% endif %}
{{ lead.customer.email }} {{ lead.customer.phone_number }} {{ lead.source|upper }} {{ lead.channel|upper }} {{ lead.created|date }}
{% if is_paginated %} {% endif %}
{% endblock %}