{% extends 'base.html' %} {% load static %} {% block title %}Statement Detail - {{ statement.bank_account.bank_name }}{% endblock %} {% block content %}
{{ statement.account_number }}
{{ statement.statement_period_start|date:'d M Y' }} - {{ statement.statement_period_end|date:'d M Y' }}
| Opening Balance: | RM {{ statement.opening_balance|floatformat:2 }} |
| Closing Balance: | RM {{ statement.closing_balance|floatformat:2 }} |
| Total Transactions: | {{ lines.count }} |
| Date | Description | Debit (Out) | Credit (In) | Balance | Status | Matched Transaction |
|---|---|---|---|---|---|---|
| {{ line.date|date:'d M Y' }} |
{{ line.description|truncatewords:10 }}
{% if line.reference %}
Ref: {{ line.reference }}
{% endif %}
|
{% if line.debit %} RM {{ line.debit|floatformat:2 }} {% else %} - {% endif %} | {% if line.credit %} RM {{ line.credit|floatformat:2 }} {% else %} - {% endif %} | {% if line.balance %} RM {{ line.balance|floatformat:2 }} {% else %} - {% endif %} | {% if line.is_reconciled %} Matched {% else %} Pending {% endif %} | {% if line.reconciled_transaction %} {{ line.reconciled_transaction.reference_no }} {% else %} - {% endif %} |
| No transaction lines found | ||||||