{% load i18n %} {% load yes_no %} {% load static %} {% if messages %}
{% for message in messages %}
{{ message }}
{% endfor %}
{% endif %} {% if request.GET.instances_ids %}
{% endif %} {% if allowance %}
{{allowance.title}}
{% trans "Taxable" %} {{allowance.is_taxable|yesno|capfirst}}
{% trans "One Time Allowance" %} {% if allowance.one_time_date %} {% trans "On" %} {{allowance.one_time_date}} {% else %} {% trans "No" %} {% endif %}
{% trans "Condition Based" %} {% if allowance.is_condition_based %} {{allowance.get_field_display}} {{allowance.get_condition_display}} {{allowance.value}} {% else %} {% trans "No" %} {% endif %}
{% 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 "Has Maximum Limit" %} {% if allowance.has_max_limit %} {{allowance.maximum_amount}} {{currency}} {% if allowance.based_on == "basic_pay" %}{% trans "For working days on a month" %}{% endif %} {% else %} {% trans "No" %} {% endif %}
{% trans "Allowance Eligibility" %} If {{allowance.get_if_choice_display}} {{allowance.get_if_condition_display}} {{allowance.if_amount}}
{% if perms.payroll.change_allowance or perms.payroll.delete_allowance %}
{% trans "Edit" %}
{% endif %}
{% else %}
Page not found. 404.
{% trans "There are currently no allowances to consider." %}
{% endif %}