{% load i18n %} {% load yes_no %}{% load static %} {% include 'filter_tags.html' %} {% if messages %}
{% for message in messages %}
{{ message }}
{% endfor %}
{% endif %} {% if deductions %}
{% trans "Deduction" %}
{% trans "Specific Employees" %}
{% trans "Excluded Employees" %}
{% trans "Is Pretax" %}
{% trans "Is Condition Based" %}
{% trans "Condition" %}
{% trans "Is Fixed" %}
{% trans "Amount" %}
{% trans "Based On" %}
{% trans "Rate" %}
{% trans "Actions" %}
{% for deduction in deductions %}
{{deduction.title}}
{% for employee in deduction.specific_employees.all%} {{employee}}
{% endfor %}
{% for employee in deduction.exclude_employees.all%} {{employee}}
{% endfor %}
{{deduction.is_pretax|yesno|capfirst}}
{{deduction.is_condition_based|yesno|capfirst}}
{% if deduction.field %} {{deduction.get_field_display}} {{deduction.get_condition_display}} {{deduction.value}} {% endif %}
{{deduction.is_fixed|yesno|capfirst}}
{% if deduction.amount %} {{deduction.amount}} {% endif %}
{% if deduction.based_on %} {{deduction.get_based_on_display}} {% endif%}
{% if deduction.based_on %} {{deduction.rate}} {% endif %}
{% endfor %}
{% trans "Page" %} {{ deductions.number }} {% trans "of" %} {{ deductions.paginator.num_pages }}.
{% else %}
{% trans "No search result found!" %}
{% endif %}