{% extends 'base.html' %} {% block content %}

Online Payment

Your Account Status

Current balance in your account

{{ balance|currency }}
{% if balance > 0 %}
Submit Payment Proof
{% endif %}

Available Payment Methods

{% if payment_accounts %}
{% for account in payment_accounts %}

{{ account.name }}

{% if account.bank_name %}

Bank: {{ account.bank_name }}

{% endif %} {% if account.holder_name %}

Account Holder: {{ account.holder_name }}

{% endif %} {% if account.account_number %}

Account Number: {{ account.account_number }}

{% endif %} {% if account.ifsc_swift %}

IFSC/SWIFT: {{ account.ifsc_swift }}

{% endif %} {% if account.payment_instructions %}
Payment Instructions:

{{ account.payment_instructions }}

{% endif %}
{% endfor %}
{% else %}

No online payment methods available at the moment.

{% endif %}

Your Payment History

{% if all_payments %}
{% set pending_count = all_payments|selectattr('status', 'equalto', 'pending')|list|length %} {% set approved_count = all_payments|selectattr('status', 'equalto', 'approved')|list|length %} {% set rejected_count = all_payments|selectattr('status', 'equalto', 'rejected')|list|length %}
{{ pending_count }}
Pending
{{ approved_count }}
Approved
{{ rejected_count }}
Rejected
{% for payment in all_payments %} {% endfor %}
Date & Time Payment Method Amount Reference ID Status Admin Notes Actions
{{ payment.date|date_format }}
{{ payment.created_at.strftime('%H:%M') }}
{{ payment.account.name }} {% if payment.account.bank_name %}
{{ payment.account.bank_name }} {% endif %}
{{ payment.amount|currency }} {{ payment.reference_id }} {% if payment.status == 'pending' %} ⏳ Pending {% elif payment.status == 'approved' %} ✅ Approved {% elif payment.status == 'rejected' %} ❌ Rejected {% endif %} {% if payment.admin_notes %}
{{ payment.admin_notes }}
{% else %} - {% endif %}
{% if payment.screenshot_path %} {% else %} No proof {% endif %}
{% else %}
📊

No payment submissions yet

Your payment history will appear here once you submit payment proofs

{% endif %}
{% endblock %}