{% load i18n %} {% load yes_no %} {% load static %} {% include 'filter_tags.html' %} {% if messages %}
{% for message in messages %}
{{ message }}
{% endfor %}
{% endif %} {% if allowances %}
{% for allowance in allowances %}
Username
{{allowance}} {% trans "Amount" %} {% if allowance.is_fixed %} {{allowance.amount}} {% else %} {% if allowance.based_on == "basic_pay" %} {{allowance.rate}}% of {{allowance.get_based_on_display}} {% endif %} {% if position == "postfix" %} {% if allowance.based_on == "attendance" %} {{allowance.per_attendance_fixed_amount}} {{currency}} {% trans "Amount Per Attendance" %} {% endif %} {% if allowance.based_on == "shift_id" %} {{allowance.shift_per_attendance_amount}} {{currency}} {% trans "Amount Per" %} {{allowance.shift_id}} {% endif %} {% if allowance.based_on == "work_type_id" %} {{allowance.work_type_per_attendance_amount}} {{currency}} {% trans "Amount Per" %} {{allowance.work_type_id}} {% endif %} {% if allowance.based_on == "overtime" %} {{allowance.amount_per_one_hr}} {{currency}} {% trans "Amount Per One Hour" %} {% endif %} {% else %} {% if allowance.based_on == "attendance" %} {{currency}} {{allowance.per_attendance_fixed_amount}} {% trans "Amount Per Attendance" %} {% endif %} {% if allowance.based_on == "shift_id" %} {{currency}} {{allowance.shift_per_attendance_amount}} {% trans "Amount Per" %} {{allowance.shift_id}} {% endif %} {% if allowance.based_on == "work_type_id" %} {{currency}} {{allowance.work_type_per_attendance_amount}} {% trans "Amount Per" %} {{allowance.work_type_id}} {% endif %} {% if allowance.based_on == "overtime" %} {{currency}} {{allowance.amount_per_one_hr}} {% trans "Amount Per One Hour" %} {% endif %} {% endif %} {% endif %}
{% trans "One Time Allowance" %} {% if allowance.one_time_date %} {% trans "On" %} {{allowance.one_time_date}} {% else %} {% trans "No" %} {% endif %}
{% trans "Taxable" %} {{allowance.is_taxable|yesno|capfirst}}
{% endfor %}
{% trans "Page" %} {{ allowances.number }} {% trans "of" %} {{ allowances.paginator.num_pages }}.
{% else %}
{% trans "No search result found!" %}
{% endif %}