{% extends 'base.html' %} {% load static %} {% block title %}Journal Entry {{ entry.reference_number }} - HAVEN GRAZURI INVESTMENT LIMITED{% endblock %} {% block content %}
{{ entry.reference_number }}
Draft Entry
This entry has not been posted to the general ledger yet.
Posted Entry
This entry has been posted to the general ledger.
Reversed Entry
This entry has been reversed by journal entry {{ reversal_entry.reference_number }}.
{{ entry.reference_number }}
{{ entry.transaction_date|date:"Y-m-d" }}
{{ entry.branch.name|default:"—" }}
{% if entry.status == 'draft' %} Draft {% elif entry.status == 'posted' %} Posted {% elif entry.status == 'reversed' %} Reversed {% endif %}
{{ entry.description }}
Linked Expense
| Account Code | Account Name | Description | Debit | Credit |
|---|---|---|---|---|
|
{{ line.account.name }}
{{ line.account.get_account_type_display }}
|
{{ line.description }}
|
{% if line.debit_amount > 0 %}
KES {{ line.debit_amount|floatformat:2 }}
{% else %}
—
{% endif %}
|
{% if line.credit_amount > 0 %}
KES {{ line.credit_amount|floatformat:2 }}
{% else %}
—
{% endif %}
|
|
| TOTALS: |
KES {{ total_debits|floatformat:2 }}
|
KES {{ total_credits|floatformat:2 }}
|
||
| Entry is balanced (Debits = Credits) | ||||
| WARNING: Entry is not balanced! Difference: KES {{ total_debits|add:"-"|add:total_credits|floatformat:2 }} | ||||
{{ entry.created_by.get_full_name|default:entry.created_by.username }}
{{ entry.created_at|date:"Y-m-d H:i:s" }}
{{ entry.posted_by.get_full_name|default:entry.posted_by.username }}
{{ entry.posted_at|date:"Y-m-d H:i:s" }}