{% extends "base.html" %} {% block title %}Leads • Crystal Nexus{% endblock %} {% block header %}Leads{% endblock %} {% block content %}
CRM • Lead Management

Lead Master

Search, filter and manage leads with a modern unified CRM experience.
Total Leads
{{ pagination.total }}
Corporate
{{ pagination.items | selectattr("lead_type", "equalto", "Corporate") | list | length }}
Individual
{{ pagination.items | selectattr("lead_type", "equalto", "Individual") | list | length }}
This Page
{{ pagination.items | length }}
Advanced Filters
Narrow down leads using status, source, service and ownership.
{% for lead in pagination.items %} {% endfor %} {% if pagination.total == 0 %} {% endif %}
S.No Lead Details Type Company Contact Status Source Owner Action
{{ ((pagination.page - 1) * pagination.per_page) + loop.index }}
{{ (lead.name or 'L')[0]|upper }}
{{ lead.lead_code }}
{{ lead.location or 'No location' }}
{% if lead.created_at %}
Created: {{ lead.created_at.strftime('%d %b %Y') }}
{% endif %}
{% if lead.lead_type == 'Corporate' %} Corporate {% elif lead.lead_type == 'Individual' %} Individual {% else %} — {% endif %}
{{ lead.company or '—' }}
{{ lead.industry.name if lead.industry else 'No Industry' }}
{{ lead.email or '—' }}
{% if lead.phone %} {{ lead.phone_country or '' }} {{ lead.phone }} {% else %} — {% endif %}
{% if lead.status %} {{ lead.status.name }} {% else %} — {% endif %}
{{ lead.source.name if lead.source else '—' }}
{{ lead.service.name if lead.service else 'No Service' }}
{{ lead.owner.name if lead.owner else '—' }}
No leads found
Try changing filters or create a new lead.
{% if pagination.pages > 1 %} {% endif %}
{% endblock %}