{% load i18n %} {% load static %} {% load horillafilters %} {% 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 allowance.based_on == "attendance" %} {{allowance.per_attendance_fixed_amount|currency_symbol_position}} {% trans "Amount Per Attendance" %} {% endif %} {% if allowance.based_on == "shift_id" %} {{allowance.shift_per_attendance_amount|currency_symbol_position}} {% trans "Amount Per" %} {{allowance.shift_id}} {% endif %} {% if allowance.based_on == "work_type_id" %} {{allowance.work_type_per_attendance_amount|currency_symbol_position}} {% trans "Amount Per" %} {{allowance.work_type_id}} {% endif %} {% if allowance.based_on == "overtime" %} {{allowance.amount_per_one_hr|currency_symbol_position}} {% trans "Amount Per One Hour" %} {% 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|yes_no }}
{% if perms.payroll.change_allowance or perms.payroll.delete_allowance %}
{% endif %}
{% endfor %}
{% trans "Page" %} {{ allowances.number }} {% trans "of" %} {{ allowances.paginator.num_pages }}.
{% else %}
{% trans "No search result found!" %}
{% endif %}