{% extends "base.html" %} {% load static %} {% block title %}Journal Entry {{ entry.entry_number }}{% endblock %} {% block content %}

Journal Entry: {{ entry.entry_number }}

Edit Back to List
Date:

{{ entry.date|date:"Y-m-d" }}

Status:

{{ entry.get_status_display }}

Reference:

{{ entry.reference|default:"-" }}

Job:

{% if entry.job %} {{ entry.job.name }} {% else %}-{% endif %}

Description:

{{ entry.description|linebreaksbr }}

{% for transaction in entry.transactions.all %} {% endfor %}
Account Debit Credit Description
{{ transaction.account.code }} - {{ transaction.account.name }} {{ transaction.debit|floatformat:2 }} {{ transaction.credit|floatformat:2 }} {{ transaction.description|default:"-" }}
Total {{ entry.transactions.all|sum_debits|floatformat:2 }} {{ entry.transactions.all|sum_credits|floatformat:2 }}
Created by {{ entry.created_by }} on {{ entry.created_at|date:"Y-m-d H:i" }} {% if entry.created_at != entry.updated_at %}
Last updated on {{ entry.updated_at|date:"Y-m-d H:i" }} {% endif %}
{% endblock %}