{% extends 'base.html' %} {% load static %} {% block title %}Expenses - Optinet Global Links{% endblock %} {% block content %}

Expenses

New Expense {% if can_manage %} Reports Generate Payroll {% endif %}
Filter Expenses
{{ form.employee }}
{{ form.category }}
{{ form.status }}
{{ form.month }}
{{ form.year }}
Clear Filters
Expense List ({{ page_obj.paginator.count }} total)
{% if page_obj %}
{% if can_manage %}{% endif %} {% for expense in page_obj %} {% if can_manage %} {% endif %} {% endfor %}
Expense #EmployeeTitle Category Amount Date Status Actions
{{ expense.expense_number }} {{ expense.employee.full_name }}{{ expense.title|truncatechars:40 }} {{ expense.category.name }} KSh {{ expense.amount|floatformat:2 }} {{ expense.expense_date|date:"M d, Y" }} {{ expense.get_status_display }} {% if can_manage and expense.status == 'pending' %} {% endif %}
{% if page_obj.has_other_pages %} {% endif %} {% else %}
No expenses found

Try adjusting your filters or create a new expense.

Create First Expense
{% endif %}
{% endblock %}