{% extends 'base.html' %} {% load humanize %} {% block title %}M-Pesa Transactions{% endblock %} {% block content %}
| Transaction ID | Customer | Phone | Amount | Status | Borrower | Loan | Date | Actions |
|---|---|---|---|---|---|---|---|---|
| {{ transaction.trans_id }} | {{ transaction.get_customer_name|default:"N/A" }} | {{ transaction.msisdn }} | KES {{ transaction.trans_amount|floatformat:2|intcomma }} | {{ transaction.get_status_display }} | {% if transaction.borrower %} {{ transaction.borrower.get_full_name }} {% else %} Not matched {% endif %} | {% if transaction.loan %} {{ transaction.loan.loan_number }} {% else %} Not matched {% endif %} | {{ transaction.created_at|date:"M d, Y H:i" }} | {% if not transaction.repayment %} ↷ Retry {% endif %} |
No transactions found.
{% endif %}