{% extends "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|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 %}
{% else %}
💳

Nenhum pagamento registrado.

{% endif %}
{% endblock %}