{% extends "base.html" %} {% from "components/ui.html" import page_header, breadcrumb_nav, button, filter_badge %} {% block content %} {% set breadcrumbs = [ {'text': 'Expenses'} ] %} {{ page_header( icon_class='fas fa-receipt', title_text='Expenses', subtitle_text='Track and manage business expenses', breadcrumbs=breadcrumbs, actions_html='' + '
' ) }}Total Expenses
{{ total_count }}
Total Amount
{{ currency|currency_symbol }}{{ '%.2f'|format(total_amount) }}
| {% endif %} | Date | Title | Category | Amount | Status | User | Project | Actions |
|---|---|---|---|---|---|---|---|---|
| {% endif %} | {{ expense.expense_date.strftime('%Y-%m-%d') }} |
{{ expense.title }}
{% if expense.vendor %}
{{ expense.vendor }}
{% endif %}
|
{{ expense.category|title }} | {{ expense.currency_code }} {{ '%.2f'|format(expense.total_amount) }} {% if expense.billable %} {% endif %} | {% if expense.status == 'pending' %} Pending {% elif expense.status == 'approved' %} Approved {% elif expense.status == 'rejected' %} Rejected {% elif expense.status == 'reimbursed' %} Reimbursed {% else %} {{ expense.status|title }} {% endif %} | {{ expense.user.username if expense.user else '—' }} | {% if expense.project %} {{ expense.project.name }} {% else %} — {% endif %} | View |