{% extends "claims/base.html" %} {% block title %}{{ claim.ref }}{% endblock %} {% block content %}

{{ claim.ref }} · {{ claim.title }}

{{ claim.get_status_display }}

{{ claim.employee.name }} ({{ claim.employee.grade }}, {{ claim.employee.department }}, CC {{ claim.employee.cost_center }}) {% if claim.trip %} · Trip: {{ claim.trip }}{% endif %}{% if claim.submitted_at %} · Submitted {{ claim.submitted_at|date:"d M Y H:i" }}{% endif %}

Claimed{{ claim.claimed_total }}
Policy-allowed{{ claim.allowed_total }}
Reimbursable{{ claim.reimbursable_total }}
{% if claim.advance_applied %}
Advance applied{{ claim.advance_applied }}
{% endif %} {% if settlement_net is not None %}
{% if settlement_net < 0 %}Recoverable from employee{% else %}Net payable{% endif %}{{ settlement_net }}
{% endif %}
{% if claim.employee == me and claim.status == 'draft' or claim.employee == me and claim.status == 'returned_for_correction' %}

Edit & resubmit

{% endif %} {% for f in flags %}{% if is_finance %}
Audit flag [{{ f.kind }}]: {{ f.detail }}
{% endif %}{% endfor %} {% if can_act %}{% endif %} {% for l in lines %} {% if can_act %}{% endif %} {% endfor %}
DateCategoryVendor / noteClaimed (INR)PolicyAllowedReimbursableDecisionAction
{{ l.date|date:"d M" }}{{ l.get_category_display }}{% if l.currency != 'INR' %}
{{ l.amount }} {{ l.currency }}{% endif %}
{{ l.vendor }}{% if l.description %}
{{ l.description }}{% endif %}{% if l.receipt %} receipt{% endif %}
{{ l.amount_inr }} {{ l.status }}
{{ l.explanation }}
{{ l.allowed_inr }}{{ l.reimbursable }}{% if l.override %}
override{% endif %}
{{ l.get_decision_display }}{% if l.approver_note %}
{{ l.approver_note }}{% endif %}
{% csrf_token %}
{% if can_act %}
{% csrf_token %}
{% endif %}

Approval trail

{% for s in steps %} {% empty %}{% endfor %}
StageApproverDecisionDueActedComment
{{ s.stage }}{{ s.approver.name|default:"Finance team" }}{% if s.delegated_from %} (delegate for {{ s.delegated_from.name }}){% endif %} {{ s.get_decision_display }}{% if s.acted_by %} by {{ s.acted_by.name }}{% endif %} {{ s.due_at|date:"d M H:i" }}{{ s.acted_at|date:"d M H:i" }}{{ s.comment }}
Not submitted yet.
{% if comments %}

Comments

{% for c in comments %}

{{ c.author.get_full_name }} {{ c.created_at|date:"d M H:i" }}
{{ c.text }}

{% endfor %}{% endif %} {% endblock %}