{% extends "base.html" %} {% block content %}
| Date | TransID | Name | Amount | Status | Detail |
|---|---|---|---|---|---|
| {{ r.date }} | {{ r.trans_id }} | {{ r.name }} | KES {{ r.amount }} | {{ r.status }} | {% if r.status == 'success' %}Receipt: {{ r.receipt }} | Loan: {{ r.loan }} {% elif r.status == 'would_recover' %}Borrower: {{ r.borrower }} | Loan: {{ r.loan }} {% elif r.status == 'no_borrower' %}BillRef {{ r.bill_ref }} not matched {% elif r.status == 'no_loan' %}{{ r.borrower }} has no active loan {% else %}{{ r.message }}{% endif %} |