{% extends 'base.html' %} {% load static %} {% load humanize %} {% block title %}All Repayments{% endblock %} {% block extra_css %} {% endblock %} {% block content %}
Comprehensive view of all loan repayments
{% if user.role == 'admin' %} {% endif %}When a customer pays via M-Pesa paybill, SasaPay sends the payment here automatically โ it is matched to their loan, a repayment is recorded, and a confirmation SMS is sent to the customer + all admin numbers. Payments marked โก Auto (SasaPay) were received this way.
| ๐ Date | ๐คBorrower | Loan ID | ๐ท๏ธProduct | ๐ตAmount | ๐ณMethod | Source | โน๏ธStatus | ๐งพReceipt | โ๏ธActions |
|---|---|---|---|---|---|---|---|---|---|
|
{{ repayment.payment_date|date:"M d, Y" }}
{{ repayment.payment_date|date:"H:i" }} |
{{ repayment.loan.borrower.get_full_name }}
๐{{repayment.loan.borrower.phone_number }} |
{{ repayment.loan.loan_number }} | {{ repayment.loan.application.loan_product.name }} | KSh {{ repayment.amount|floatformat:2|intcomma}} | {{ repayment.payment_method}} | {% if repayment.payment_source == 'automatic' %} โก Auto (SasaPay) {% else %} Manual {% endif %} | {% if repayment.loan.status == 'active' %} Active {% elif repayment.loan.status == 'completed' %} Completed {% elif repayment.loan.status == 'overdue' %} Overdue {% else %} {{repayment.loan.status|title }} {% endif %} | {% if repayment.receipt %} Generated {% else %} Missing {% endif %} |
{% if repayment.receipt %}
View
๐จ๏ธ Thermal
โฌ๏ธ Download
{% else %}
+ Generate
{% endif %}
{% if user.is_staff %}
โ๏ธ Edit
๐๏ธ Delete
{% endif %}
|
|
๐ฅ
No Repayments FoundNo repayments match your current filters. Try adjusting your search criteria. |
|||||||||