{% extends "admin/layout.html" %} {% block title %}Manual Payments – Admin{% endblock %} {% block body %}

{% trans %}Manual Payments{% endtrans %}

{% trans %}All manually recorded payments. Total:{% endtrans %} {{ total }}

{% trans %}Record New Payment{% endtrans %}
{% with messages = get_flashed_messages(with_categories=true) %}{% for cat, msg in messages %}{% endfor %}{% endwith %}
{% trans %}Manual Payment Settings{% endtrans %} {% trans %}Shown to users on the payment page{% endtrans %}
{% trans %}Enable manual payment option{% endtrans %}
{% trans %}Allow users to request manual payment for blog posts{% endtrans %}

{% trans %}This text is shown to users when they choose manual payment for a blog post fee.{% endtrans %}

{% trans %}Payment History{% endtrans %}

{% if payments %}
{% for p in payments %} {% endfor %}
# {% trans %}User{% endtrans %} {% trans %}Plan{% endtrans %} {% trans %}Amount{% endtrans %} {% trans %}Method{% endtrans %} {% trans %}Notes{% endtrans %} {% trans %}Expires{% endtrans %} {% trans %}Date{% endtrans %}
{{ p.id }}
{{ p.username }}
{{ p.email }}
{{ p.plan_name }} {{ p.currency }} {{ '%.2f'|format(p.amount) }} {{ p.method|replace('_', ' ') }} {{ p.notes or '–' }} {{ p.subscription_expires_at[:10] if p.subscription_expires_at else '–' }} {{ p.created_at[:10] if p.created_at else '' }}
{% if total_pages > 1 %}
{% trans %}Page{% endtrans %} {{ page }} {% trans %}of{% endtrans %} {{ total_pages }}
{% if page > 1 %}{% trans %}Previous{% endtrans %}{% endif %} {% if page < total_pages %}{% trans %}Next{% endtrans %}{% endif %}
{% endif %} {% else %}
{% trans %}No manual payments recorded yet.{% endtrans %}
{% endif %}
{% endblock %}