{% extends 'base.html' %} {% load static %} {% block title %}Approve Expense - {{ expense.expense_number }} - Optinet Global Links{% endblock %} {% block extra_css %} {% endblock %} {% block content %}

Review Expense

{{ expense.expense_number }} - {{ expense.title }}

Pending Review
Expense Details
Employee: {{ expense.employee.full_name }}
Department: {{ expense.employee.department.name|default:"Not Assigned" }}
Category: {{ expense.category.name }}
Amount: KSh {{ expense.amount|floatformat:2 }}
Expense Date: {{ expense.expense_date|date:"F d, Y" }}
{% if expense.vendor_name %} {% endif %} {% if expense.vendor_contact %} {% endif %}
Submitted: {{ expense.submitted_at|date:"F d, Y g:i A" }}
Vendor: {{ expense.vendor_name }}
Vendor Contact: {{ expense.vendor_contact }}
Reimbursable: {% if expense.is_reimbursable %} Yes {% else %} No {% endif %}
{% if expense.description %}
Description:

{{ expense.description|linebreaks }}

{% endif %} {% if expense.notes %}
Notes:

{{ expense.notes|linebreaks }}

{% endif %} {% if expense.budget_allocation %}
Budget Allocation:
{{ expense.budget_allocation.category.name }}
Allocated: KSh {{ expense.budget_allocation.allocated_amount|floatformat:2 }}
Spent: KSh {{ expense.budget_allocation.spent_amount|floatformat:2 }}
Remaining: KSh {{ expense.budget_allocation.remaining_amount|floatformat:2 }}
{{ expense.budget_allocation.utilization_percentage|floatformat:1 }}%
{% endif %} {% if expense.attachments.all %}
Attachments:
{% for attachment in expense.attachments.all %}
{{ attachment.title }}
{{ attachment.get_attachment_type_display }} - {{ attachment.file_size_formatted }}
{% endfor %}
{% endif %}
Approval Decision
{% csrf_token %}
Back
{% endblock %} {% block extra_js %} {% endblock %}