{% extends "base.html" %} {% block title %}Historico de Planos{% endblock %} {% block extra_head %} {% endblock %} {% block content %}
{% if history %} {% for h in history %} {% endfor %}
Plano Contratado em Expira em Status Origem
{{ h.plan_name }} {{ h.started_at|bdate }} {{ h.expires_at|bdate if h.expires_at else '-' }} {{ h.status|capitalize }} {{ 'Direto' if h.source == 'direct' else 'Indicacao' }}
{% else %}
📋

Nenhum historico de planos.

{% endif %}
{% endblock %}