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

Online Payment Management

Payment Submissions

💡

Payment Proof System Update

Some older payment records may show "File Not Available" because they were created before proper file storage was implemented. New uploads will work correctly. You can still approve/reject payments based on the reference ID and other details.

{% if payments %} {% for payment in payments %} {% endfor %}
Date Customer Payment Method Amount Reference ID Screenshot Status Actions
{{ payment.date|date_format }} {{ payment.customer.name }}
{{ payment.customer.email }}
{{ payment.account.name }}
{{ payment.account.bank_name or 'N/A' }}
{{ payment.amount|currency }} {{ payment.reference_id }} {% if payment.screenshot_path %} {% if payment.screenshot_path.startswith('uploaded_') %} {% else %} {% endif %} {% else %} No proof {% endif %} {% if payment.status == 'pending' %} ⏳ Pending {% elif payment.status == 'approved' %} ✅ Approved {% elif payment.status == 'rejected' %} ❌ Rejected {% endif %} {% if payment.status == 'pending' %}
{% else %} - {% endif %}
Payment Details:
{% if payment.note %}
Customer Notes: {{ payment.note }}
{% endif %} {% if payment.admin_notes %}
Admin Notes: {{ payment.admin_notes }}
{% endif %}
Submitted: {{ payment.created_at|date_format }} at {{ payment.created_at.strftime('%H:%M') }}
{% else %}

No online payment submissions yet.

{% endif %}
{% endblock %}