{% endif %}
{% if deduction %}
{% if request.GET.instances_ids %}
{% endif %}
{{deduction.title}}
{% if deduction.is_tax %}
{% trans "Tax" %}{{deduction.is_tax|yesno|capfirst}}
{% else %}
{% trans "Pretax" %}{{deduction.is_pretax|yesno|capfirst}}
{% endif %}
{% trans "One Time deduction" %}
{% if deduction.one_time_date %}
{% trans "On" %} {{deduction.one_time_date}}
{% else %}
{% trans "No" %}
{% endif %}
{% trans "Condition Based" %}
{% if deduction.is_condition_based %}
{{deduction.get_field_display}}
{{deduction.get_condition_display}} {{deduction.value}}
{% else %}
{% trans "No" %}
{% endif %}
{% trans "Amount" %}
{% if deduction.update_compensation %}
{% if deduction.is_fixed %}
{% if position == "prefix" %}
{{currency}} {{deduction.amount}} {% trans "Deduct From" %}
{{deduction.get_update_compensation_display}}
{% else %}
{{deduction.amount}} {{currency}} {% trans "Deduct From" %}
{{deduction.get_update_compensation_display}}
{% endif %}
{% else %}
{{deduction.rate}}% {% trans "of" %}
{{deduction.get_update_compensation_display}}
{% endif %}
{% else %}
{% if deduction.is_fixed %}
{% if position == "prefix" %}
{{currency}} {{deduction.amount}}
{% else %}
{{deduction.amount}} {{currency}}
{% endif %}
{% else %}
{% trans "Employer Rate :" %} {{deduction.employer_rate}}% {% trans "of" %} {{deduction.get_based_on_display}}{% trans "Employee Rate :" %} {{deduction.rate}}% {% trans "of" %} {{deduction.get_based_on_display}}
{% endif %}
{% endif %}
{% trans "Has Maximum Limit" %}
{% if deduction.has_max_limit %}
{% if position == "prefix" %}
{{currency}} {{deduction.maximum_amount}} {% trans "For working days on a month" %}
{% else %}
{{deduction.maximum_amount}} {{currency}} {% trans "For working days on a month" %}
{% endif %}
{% else %}
{% trans "No" %}
{% endif %}
{% trans "Deduction Eligibility" %}If {{deduction.get_if_choice_display}}
{{deduction.get_if_condition_display}} {{deduction.if_amount}}
{% if perms.payroll.change_deduction or perms.payroll.delete_deduction %}