{% load i18n %} {% load static horillafilters %}{% include "filter_tags.html" %}
{% trans "Rejected" %} {% trans "Approved" %} {% trans "Requested" %}
{% if reimbursements %}
{% comment %}
{% endcomment %}
{% trans "Employee" %}
{% trans "Date" %}
{% trans "Title" %}
{% trans "Amount" %}
{% trans "Status" %}
{% trans "Description" %}
{% trans "Comment" %}
{% trans "Actions" %}
{% trans "Confirmation" %}
{% for req in reimbursements %}
{% comment %}
{% endcomment %} {% comment %}
{% endcomment %}
{{req.employee_id}}
{{req.created_at|date:"F j, Y"}}
{{req.title|truncatechars:20 }}
{{req.amount}}
{{req.get_status_display}}
{{req.description}}
{% if perms.payroll.change_reimbursement or request.user == req.employee_id.employee_user_id %} {% if req.status == 'requested' %} {% else %} {% endif %} {% endif %} {% if perms.payroll.delete_reimbursement %} {% endif %}
{% if req.status == 'requested' %} {% else %} {% endif %} {% if req.status != 'rejected' %} {% else %} {% endif %}
{% comment %} {% endcomment %}
{% comment %} {% endcomment %}
{% endfor %}
{% trans 'Page' %} {{ reimbursements.number }} {% trans 'of' %} {{ reimbursements.paginator.num_pages }}.
{% else %}
{% trans "No search result found!" %}
{% endif %}
{% if leave_encashments %}
{% comment %}
{% endcomment %}
{% trans "Employee" %}
{% trans "Date" %}
{% trans "Title" %}
{% trans "Amount" %}
{% trans "Leave type" %}
{% trans "Available days to encash" %}
{% trans "Carryforward to encash" %}
{% trans "Status" %}
{% trans "Description" %}
{% trans "Comment" %}
{% trans "Actions" %}
{% trans "Confirmation" %}
{% for req in leave_encashments %}
{% comment %}
{% endcomment %}
{{req.employee_id}}
{{req.created_at|date:"F j, Y"}}
{{req.title|truncatechars:20 }}
{{req.leave_type_id}}
{{req.ad_to_encash}}
{{req.cfd_to_encash}}
{{req.get_status_display}}
{{req.description}}
{% if perms.payroll.change_reimbursement or request.user == req.employee_id.employee_user_id %} {% if req.status == 'requested' %} {% else %} {% endif %} {% endif %} {% if perms.payroll.delete_reimbursement %} {% endif %}
{% if req.status == 'requested' %} {% else %} {% endif %} {% if req.status != 'rejected' %} {% else %} {% endif %}
{% endfor %}
{% trans 'Page' %} {{ leave_encashments.number }} {% trans 'of' %} {{ leave_encashments.paginator.num_pages }}.
{% else %}
{% trans "No search result found!" %}
{% endif %}
{% if bonus_encashments %}
{% comment %}
{% endcomment %}
{% trans "Employee" %}
{% trans "Date" %}
{% trans "Title" %}
{% trans "Amount" %}
{% trans "Bonus to encash" %}
{% trans "Status" %}
{% trans "Description" %}
{% trans "Comment" %}
{% trans "Actions" %}
{% trans "Confirmation" %}
{% for req in bonus_encashments %}
{% comment %}
{% endcomment %} {% comment %}
{% endcomment %}
{{req.employee_id}}
{{req.created_at|date:"F j, Y"}}
{{req.title|truncatechars:20 }}
{{req.bonus_to_encash}}
{{req.get_status_display}}
{{req.description}}
{% if perms.payroll.change_reimbursement or request.user == req.employee_id.employee_user_id %} {% if req.status == 'requested' %} {% else %} {% endif %} {% endif %} {% if perms.payroll.delete_reimbursement %} {% endif %}
{% if req.status == 'requested' %} {% else %} {% endif %} {% if req.status != 'rejected' %} {% else %} {% endif %}
{% endfor %}
{% trans 'Page' %} {{ bonus_encashments.number }} {% trans 'of' %} {{ bonus_encashments.paginator.num_pages }}.
{% else %}
{% trans "No search result found!" %}
{% endif %}