{% extends "base.html" %} {% load static %} {% load crispy_forms_tags %} {% block title %} Single Employee leave balance Report {% endblock title %} {% load widget_tweaks %} {% block Style %} {% endblock Style %} {% block MainContent %}

Single Employee Leave Balance Report

{% if request.user.is_superuser == True %} {% include 'report_app/single_leave_balance_report/super_admin_forms.html' %} {% endif %} {% if request.user.user_type == 'Mother_Organization_admin' %} {% include 'report_app/single_leave_balance_report/mother_admin_forms.html' %} {% endif %} {% if request.user.user_type == 'Sister_Organization_admin' %} {% include 'report_app/single_leave_balance_report/sister_admin_forms.html' %} {% endif %} {% if request.user.user_type == 'Branch' or request.user.user_type == 'Regular' %} {% include 'report_app/single_leave_balance_report/branch_admin_forms.html' %} {% endif %}
{% if leave_balance %}

{{ branch }}

{{ branch.address_details }}
{% comment %}
{% endcomment %}
Name: {{employee.name_en}}  ID:{{employee.employee_code}}  Line:{{employee.work_place}}  Designation:{{employee.designation}}   Department:{{employee.department}}
{% comment %}
Employee Code:{{employee.employee_code}}
Designation:{{employee.designation}}
{% endcomment %}
{% comment %}
{% endcomment %}
Single Employee Leave Balance Report {%if department %} (Department : {{department}}) {% endif %} {% if designation %} (Designation : {{designation}}) {% endif %} {% if month %} {{month}}  -  {{year}} {% endif %}
{% for in_out in leave_balance %} {% endfor %}
SL No Leave Type Total Leave Spent Leave Leave Balance Year
{{forloop.counter}} {{ in_out.0 }} {{in_out.1}} {{ in_out.3 }} {{ in_out.4 }} {{ in_out.2}}
{% endif %} {% endblock MainContent %} {% block meassage %} {% include 'notifications/notifications.html' %} {% endblock meassage %} {% block JS %} {% endblock JS%}