{% extends 'base.html' %} {% block content %}
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.
| 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' %}
|
|
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') }}
|
|||||||
No online payment submissions yet.
{% endif %}