{% extends "base.html" %} {% from "components/ui.html" import page_header %} {% block content %} {% set breadcrumbs = [ {'text': 'Expenses', 'url': url_for('expenses.list_expenses')}, {'text': 'Edit' if expense else 'New'} ] %} {{ page_header( icon_class='fas fa-receipt', title_text=('Edit Expense' if expense else 'New Expense'), subtitle_text=('Update expense details' if expense else 'Create a new expense record'), breadcrumbs=breadcrumbs ) }}

Basic Information

Amount Details

Total Amount: {{ (expense.amount + (expense.tax_amount or 0)) if expense else '0.00' }} {{ expense.currency_code if expense else 'EUR' }}

Association

Selecting a project will auto-fill the client

Payment Details

Receipt & Additional Information

Allowed: PNG, JPG, GIF, PDF (Max 10MB)

{% if expense and expense.receipt_path %}

Receipt uploaded

{% endif %}

Options

Cancel
{% endblock %}