{% extends "base.html" %} {% import "macros/admin_management_header.html" as mh %} {% block extra_head %} {% endblock %} {% block page_title %}Account balance and access{% endblock %} {% block content %}
{{ mh::management_header_simple( title="Account balance and access", subtitle="See what your account covers, how much is due, and your past payments.", include_actions_column=false ) }}

Your account

{% if status %}
{% if status.is_perpetually_free %} No payment needed {% elif is_active %} Access active {% else %} Payment needed to restore access {% endif %}
Account plan {{ status.profile_name | default(value="Default") }}
What this payment covers
    {% for line in plan_description %}
  • {{ line }}
  • {% endfor %}
{% if not status.is_perpetually_free %}
Access through {% if status.validity_end %} {{ status.validity_end | date_in_tz(timezone=settings.timezone) }} {% else %} Not started yet {% endif %}
Balance available {{ settings.currency_symbol }} {{ status.balance | price }}
Total for selected period {{ settings.currency_symbol }} {{ payable_amount | price }}

The recharge amount is calculated from your account plan, including any included services or usage. You do not need to choose a plugin or explain what you are paying for.

{% if payable_amount > 0 %}
30-day periods

Minimum {{ min_recharge_days }} days. Each additional period adds 30 days; choose 2 for 60 days, 3 for 90 days, and so on.

{{ min_recharge_days }} days of access

{% endif %} {% endif %}
{% if not status.is_perpetually_free and payable_amount > 0 %}
{% if online_payment_available %}

Your balance and access update after the payment is confirmed.

{% else %}

Online payment is not available right now. Please contact your administrator to recharge this account.

{% endif %}
{% elif not status.is_perpetually_free %}

No recharge is due right now.

{% endif %} {% else %}

This account does not have a billing plan yet, so there is no recharge amount to pay. Contact your administrator if you expected a plan here.

{% endif %}

Payment history

{% for tx in transactions %} {% else %} {% endfor %}
Date Amount Access period Result Payment reference
{{ tx.created_at | date_in_tz(timezone=settings.timezone) }} {{ settings.currency_symbol }} {{ tx.amount | price }} {% if tx.prepay_days %}{{ tx.prepay_days }} days{% else %}—{% endif %} {% if tx.status == 'completed' %}Paid {% elif tx.status == 'pending' %}Waiting for payment confirmation {% elif tx.status == 'failed' %}Not completed {% else %}{{ tx.status }}{% endif %} {{ tx.external_id | default(value='—') }}
No payments yet. Your payment history will appear here after your first recharge.
{% endblock %} {% block scripts %} {% endblock %}