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