{% extends 'base.html' %} {% block content %}

Leave Type Master

{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} {% for category, message in messages %} {% endfor %} {% endif %} {% endwith %}
Add New Leave Type
Allow Half-Day
Requires Approval
Carry Forward
Encashable
Sandwich Policy
Probation Restricted
Existing Leave Types
{% for lt in leave_types %} {% else %} {% endfor %}
ID Name Code Quota Flags Remarks Actions
{{ lt.id }} {{ lt.name }} {{ lt.code }} {{ lt.default_quota }} {% if lt.allow_half_day %}Half-Day{% endif %} {% if lt.requires_approval %}Approval{% endif %} {% if lt.carry_forward %}Carry Fwd{% endif %} {% if lt.encashable %}Encash{% endif %} {% if lt.sandwich_applicable %}Sandwich{% endif %} {% if lt.probation_restricted %}Probation{% endif %} {{ lt.remarks or '' }} ✏️ Edit
No leave types found.
{% endblock %}