{% load i18n %} {% load static %}
{% if not leave_type_id %} {% elif not available_leave %}
{% trans "Leave type is not assigned for the selected employee." %}
{% elif total_leave_days == 0.0 %}
{% trans "Available Leaves" %} : {{ total_leave_days }}
{% else %}
{% trans "Available Leaves" %} : {{ total_leave_days }} {% if forcated_days and forcated_days > 0 %} {% endif %}
{% endif %}