{% extends 'base.html' %} {% load static %} {% block title %}{{ account.code }} - {{ account.name }} - HAVEN GRAZURI INVESTMENT LIMITED{% endblock %} {% block content %}
Current Balance
KES {{ current_balance|floatformat:2|default:"0.00" }}
Total Transactions
{{ transaction_summary.transaction_count|default:0 }}
Status
{% if account.is_active %} Active {% else %} Inactive {% endif %}
{{ account.code }}
{{ account.get_account_type_display }}
{{ account.get_subtype_display }}
{% if account.parent_account %} {{ account.parent_account.code }} - {{ account.parent_account.name }} {% else %} None (Top Level) {% endif %}
{{ account.description|default:"No description provided" }}
{% if account.created_by %}{{ account.created_by.get_full_name|default:account.created_by.username }}{% else %}System{% endif %}
{{ account.created_at|date:"M d, Y H:i" }}
This is a system account required for proper operation. Some editing capabilities are restricted.
KES {{ transaction_summary.total_debits|floatformat:2|default:"0.00" }}
KES {{ transaction_summary.total_credits|floatformat:2|default:"0.00" }}
| Date | Reference | Description | Debit | Credit | Balance |
|---|---|---|---|---|---|
| {{ transaction.transaction_date|date:"M d, Y" }} | {{ transaction.reference_number }} | {{ transaction.description|truncatewords:10 }} | {% if transaction.debit_amount > 0 %} {{ transaction.debit_amount|floatformat:2 }} {% else %} - {% endif %} | {% if transaction.credit_amount > 0 %} {{ transaction.credit_amount|floatformat:2 }} {% else %} - {% endif %} | {{ transaction.balance|floatformat:2 }} |
|
No transactions yet |
|||||
{{ child.code }}
{{ child.name }}