{% extends spa_base or "base.html"%} {% block title %}Historico de Pagamentos{% endblock %} {% block extra_head %} {% endblock %} {% block content %}
{% if payments %} {% for p in payments %} {% endfor %}
# Plano Valor Data Status Vencimento Acao
{{ p.id }} {{ p.plan_type|trim|capitalize }} R$ {{ "%.2f"|format(p.amount) }} {{ p.created_at|bdatetime }} {{ p.status|capitalize }} {{ p.expires_at|bdatetime if p.expires_at else '-' }} {% if p.status == 'pending' %} Continuar Pagamento {% elif p.status == 'paid' %} Confirmado {% else %} - {% endif %}
{% if total_pages > 1 %}
{% if page > 1 %} « Anterior {% endif %} Pagina {{ page }} de {{ total_pages }} ({{ total }}) {% if page < total_pages %} Proximo » {% endif %}
{% endif %} {% else %}
💳

Nenhum pagamento registrado.

{% endif %}
{% endblock %}