{% extends "layout.html" %} {% block title %}My Leads{% endblock %} {% block content %}

CRM portfolio

My Leads

Schools assigned to you and waiting for action. {{ total_items }} total lead{{ "" if total_items == 1 else "s" }} in your portfolio.

Assigned{{ total_items|num }}
Active{{ active_items|num }}
Due today{{ due_today|num }}
Overdue{{ overdue|num }}
Won{{ won_count|num }}
{% if not my_leads %}

No leads are assigned to you right now. Assign one from the school list or pick a school and update the lead owner.

{% else %}

Lead list

{% for l in my_leads %} {% endfor %}
School Municipality Stage Priority Next follow-up Next action
{{ l.school.name }} {{ l.school.municipality }} {{ STAGE_LABELS[l.stage] }} {{ PRIORITY_LABELS.get(l.priority or '', '-') }} {{ l.next_followup|dt if l.next_followup else '—' }} {{ l.next_action or 'No next action yet' }}
{% endif %} {% endblock %} {% block scripts %} {% endblock %}