{% extends 'base.html' %} {% load static humanize %} {% block content %}
| Reference | Date | Category | Amount | Status | Submitted By | Actions |
|---|---|---|---|---|---|---|
| {{ expense.reference }} | {{ expense.expense_date|date:"M d, Y" }} | {{ expense.category.name|default:"N/A" }} | KSh {{ expense.amount|floatformat:2|intcomma }} | {% if expense.status == 'approved' %} {% elif expense.status == 'rejected' %} {% elif expense.status == 'paid' %} {% elif expense.status == 'draft' %} {% else %} {% endif %} {{ expense.get_status_display }} | {{ expense.created_by.get_full_name|default:expense.created_by.email }} | |
| No expenses found. | ||||||
| Total: | KSh {{ total_amount|floatformat:2|intcomma }} | |||||