{% extends 'base.html' %} {% load humanize %} {% block title %}M-Pesa Transactions{% endblock %} {% block content %}

M-Pesa Transactions

Back to Dashboard
Filters
Clear
Transactions
{% if page_obj %}
{% for transaction in page_obj %} {% endfor %}
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 %}
{% if page_obj.has_other_pages %} {% endif %} {% else %}

No transactions found.

{% endif %}
{% endblock %}