{% extends "base.html" %} {% block title %}Transaction History - National Medlab Cooperative{% endblock %} {% block content %}
| Date | Type | Description | Reference | Status | Amount |
|---|---|---|---|---|---|
| {{ transaction.created_at.strftime('%d/%m/%Y %H:%M') }} | {{ transaction.type.replace('_', ' ').title() }} | {{ transaction.description or 'N/A' }} | {{ transaction.reference or 'N/A' }} |
{{ transaction.status.title() }} | {% if transaction.type in ['deposit', 'loan_disbursement'] %} +₦{{ "%.2f"|format(transaction.amount) }} {% else %} -₦{{ "%.2f"|format(transaction.amount) }} {% endif %} |