{% extends 'base.html' %} {% load static %} {% block title %}Payment Receipts{% endblock %} {% block content %}

Payment Receipts

Manage and view all payment receipts

Total Receipts
{{ receipts.count }}

Payment Receipts

{% csrf_token %}
{% for receipt in receipts %}
KES {{ receipt.amount_paid|floatformat:2 }}
{{ receipt.receipt_number }}
{{ receipt.get_payment_method_display }}
{{ receipt.payment_date|date:"M d, Y" }}
{{ receipt.payment_date|time:"g:i A" }}
Client
{{ receipt.loan.borrower.get_full_name }}
Loan
{{ receipt.loan.loan_number }}
{% if receipt.repayment.mpesa_transaction_id %}
M-Pesa Transaction
{{ receipt.repayment.mpesa_transaction_id }}
{% endif %} {% if receipt.repayment.mpesa_phone_number %}
Phone Number
{{ receipt.repayment.mpesa_phone_number }}
{% endif %}
Total Loan: KES {{ receipt.loan.total_amount|floatformat:2 }}
Amount Paid: KES {{ receipt.amount_paid|floatformat:2 }}
Outstanding: KES {{ receipt.new_balance|floatformat:2 }}
View 🖨️Thermal ⬇️Download {% if user.is_staff %} ✏️Edit {% endif %}
{% empty %}
🧾

No receipts found

There are no payment receipts to display.

{% endfor %}
{% if is_paginated %}
{% endif %}
{% endblock %}