{% extends "../base.html" %} {% load crispy_forms_tags %} {% load humanize %} {% block page_title %} Back to Expenditures {{expenditure}}{% endblock page_title %} {% block content %}

Manage Expenditure Items

{% if editing_locked %} {% endif %}
Expenditure Details
Department:{{expenditure.department}} Expense:{{expenditure.expense}}
Vendor:{{expenditure.vendor}} Date Incurred:{{expenditure.date_incurred}}
Date Recorded:{{expenditure.date_recorded}} V.A.T:{{expenditure.vat}}
Status: {% if expenditure.payment_status == 'Paid' %} {{expenditure.payment_status}} {% elif expenditure.payment_status == 'Pending' %} {{expenditure.payment_status}} {% else %} {{expenditure.payment_status}} {% endif %} Approved By:{{expenditure.approved_by}}
Attachment: {% if expenditure.attachment %} View Attachment {% else %} None {% endif %}

Expenditure Total: {{expenditure.amount|intcomma}}/-

{% if editing_locked %} {% else %} {% endif %} {% if expenditure_items %}
{% for item in expenditure_items %} {% endfor %}
# Item Qty Unit Cost Amount Action
{{ forloop.counter }} {{ item.item_name }} {{ item.quantity }} {{ item.unit_cost|intcomma }}/- {{ item.amount|intcomma }}/- {% if editing_locked %} Locked for closed term {% else %} {% endif %}
{% else %}

No Items Available

Get started by adding your first expenditure item.

{% endif %}
{% endblock content %}