{% extends "base.html" %} {% block title %}Renewals Dashboard • Reseller Tracker{% endblock %} {% block content %}

Renewals Dashboard

Upcoming renewals with confirmation + urgency
Reset
{% for r in rows %} {% set sub = r.sub %} {% set c = r.customer %} {% endfor %} {% if not rows %} {% endif %}
Company Plan Cycle Next Renewal Days Urgency Confirmation Quick Action
{{ c.company_name }}
BDE: {{ c.bde_name or '-' }}
{{ sub.plan or '-' }} {{ sub.billing_cycle }} {{ sub.next_renewal_date }} {% if r.days_left < 0 %} {{ r.days_left }} {% else %} {{ r.days_left }} {% endif %} {% if r.urgency == "Overdue" %} Overdue {% elif r.urgency == "Due in 7" %} Due in 7 {% elif r.urgency == "Due in 30" %} Due in 30 {% else %} Later {% endif %} {% if sub.confirmation_status == "Confirmed" %} Confirmed {% elif sub.confirmation_status == "Not Required" %} Not Required {% else %} Pending {% endif %} {% if current_user.role.name in ['Admin','Sales'] %}
{% else %} — {% endif %}
No renewals found.
{% endblock %}