{% extends "base.html" %} {% block title %}Pipeline vs Conversion{% endblock %} {% block header %}Pipeline vs Conversion (BD){% endblock %} {% block content %} {% set cluster_label = (cluster.name if cluster else "All Clusters") %}
Cluster: {{ cluster_label }}
Period: {{ start_date }} to {{ end_date }}
Scope: BD users only (team_role = BD)
Leads Generated
{{ total_leads or 0 }}
This month (created_at).
Opportunities Created
{{ total_opps or 0 }}
This month (created_at).
Qualified Opportunities
{{ qualified_opps or 0 }}
Probability/stage based.
Conversion % (Won ÷ Qualified)
{{ "%.2f"|format(conversion_pct or 0) }}%
Won = invoices generated.
Won Deals
{{ won_count or 0 }}
Count of opportunities with invoices.
Won Value
{{ "%.2f"|format(won_value or 0) }}
Sum of invoices in selected month.
Avg Deal Size
{{ indian_amount(avg_deal_size or 0) }}
Won Value ÷ Won Count.
Avg Sales Cycle (days)
{{ avg_cycle_days or 0 }}
First invoice date − opportunity created date.
Leads by Source
{% for r in leads_by_source %} {% set pct = (r.count * 100 / total_leads) if total_leads else 0 %} {% endfor %} {% if (leads_by_source|length) == 0 %} {% endif %}
Source Leads %
{{ r.source }} {{ r.count }} {{ "%.1f"|format(pct) }}%
No leads found for this month
Note: Lead ownership is based on Lead.owner_id.
BD Users in Scope
Cluster filter applies to reporting tree of cluster head.
{% for u in bd_users %} {% endfor %} {% if (bd_users|length) == 0 %} {% endif %}
User Email Monthly CTC Team Role
{{ u.name }} {{ u.email }} {{ indian_amount(u.monthly_ctc or 0) }} BD
No BD users found for selected cluster
Definitions:
  • Qualified Opps: stage probability ≥ 50 or stage name contains Qualified/Proposal/Negotiation/Won.
  • Won: opportunity that has at least one invoice in the selected month.
{% endblock %}