{% extends spa_base or "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|brdate }} {{ h.expires_at|brdate if h.expires_at else '-' }} {{ h.status|capitalize }} {{ 'Direto' if h.source == 'direct' else 'Indicacao' }}
{% if total_pages > 1 %}
{% if page > 1 %} « Anterior {% endif %} Pagina {{ page }} de {{ total_pages }} ({{ total }}) {% if page < total_pages %} Proximo » {% endif %}
{% endif %} {% else %}
📋

Nenhum historico de planos.

{% endif %}
{% endblock %}