{% load i18n %}
{% trans "Details" %}
{% if request.GET.instances_ids %}
{% endif %}
Mary Magdalene
{{reimbursement.employee_id}} {{reimbursement.employee_id.employee_work_info.department_id}} / {{reimbursement.employee_id.employee_work_info.job_position_id}}

{{reimbursement.title}}

{% trans "Amount" %} {{reimbursement.amount}}
{% trans "Status" %} {{reimbursement.get_status_display}}
{% if reimbursement.type == 'reimbursement' %}
{% trans "Date" %} {{reimbursement.created_at|date:"F j, Y"}}
{% trans "Description" %} {{reimbursement.description}}
{% trans "Attachments" %} {% for doc in reimbursement.other_attachments.all %} {% endfor %}
{% elif reimbursement.type == 'leave_encashment' %}
{% trans "Date" %} {{reimbursement.created_at|date:"F j, Y"}}
{% trans "Leave type" %} {{reimbursement.leave_type_id}}
{% trans "Available days to encash" %} {{reimbursement.ad_to_encash}}
{% trans "Carryforward to encash" %} {{reimbursement.cfd_to_encash}}
{% trans "Description" %} {{reimbursement.description}}
{% else %}
{% trans "Date" %} {{reimbursement.created_at|date:"F j, Y"}}
{% trans "Bonus to encash" %} {{reimbursement.bonus_to_encash}}
{% trans "Description" %} {{reimbursement.description}}
{% endif %}
{% if perms.payroll.change_reimbursement or request.user %} {% comment %} {% endcomment %} {% endif %} {% if perms.payroll.delete_reimbursement %} {% endif %}