{% extends spa_base or "base.html"%} {% block title %}Gerenciar Planos - Admin{% endblock %} {% block extra_head %} {% endblock %} {% block content %}

Gerenciar Planos

Adicione, edite ou remova planos de assinatura

+ Adicionar Plano

💎 Planos

{% for p in plans %} {% else %} {% endfor %}
Ordem Chave Nome Preço Promoção Dias Status Ações
{{ p.sort_order }} {{ p.key }} {{ p.name }} {% if p.promotion_enabled and p.promotion_price is not none %}R$ {{ "%.2f"|format(p.price) }}
R$ {{ "%.2f"|format(p.promotion_price) }}{% else %}R$ {{ "%.2f"|format(p.price) }}{% endif %}
{% if p.promotion_enabled and p.promotion_price is not none %}{{ p.promotion_label or 'Ativa' }}{% if p.promotion_until %}
até {{ p.promotion_until|brdatetime('%d/%m/%Y %H:%M') }}
{% endif %}{% else %}-{% endif %}
{{ p.days }} dias {% if p.is_active %} Ativo {% else %} Inativo {% endif %}
Nenhum plano cadastrado.
{% endblock %}