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

Month-wise Leave Report

Month: {{ month }} ({{ month_start.strftime('%d-%b-%Y') }} to {{ month_end.strftime('%d-%b-%Y') }})
Req: {{ totals.count_requests }} Total Days: {{ totals.days_total }} Paid: {{ totals.days_paid }} Unpaid(LWP): {{ totals.days_unpaid }} RH: {{ totals.days_rh }} CO: {{ totals.days_co }}
Employee Summary (Days in selected month)
{% for r in emp_summary %} {% else %} {% endfor %}
Emp Code Employee Department Paid Unpaid (LWP) RH CO Total
{{ r.emp_code }} {{ r.employee }} {{ r.department }} {{ "%.2f"|format(r.paid_days) }} {{ "%.2f"|format(r.unpaid_days) }} {{ "%.2f"|format(r.rh_days) }} {{ "%.2f"|format(r.co_days) }} {{ "%.2f"|format(r.total) }}
No data
Detailed Requests
{% for r in rows %} {% else %} {% endfor %}
ID Emp Dept Type Range Days (in month) Status Paid/LWP Half Day Reason Mgr Remark HR Remark
{{ r.id }}
{{ r.employee }}
{{ r.emp_code }}
{{ r.department }} {{ r.leave_type }} {{ r.leave_code }} {{ r.start_date.strftime('%d-%b-%Y') }}
to
{{ r.end_date.strftime('%d-%b-%Y') }}
{{ r.days_in_month }} {{ r.status }} {% if r.paid_or_lwp == 'LWP' %} LWP {% else %} Paid {% endif %} {% if r.half_day %} Yes {{ r.half_day_session or '' }} {% else %} No {% endif %} {{ r.reason }} {{ r.manager_remark }} {{ r.hr_remark }}
No requests found
{% endblock %}