{% extends "base.html" %} {% load static %} {% load crispy_forms_tags %} {% block title %} Monthly Employee Attendance Report {% endblock title %} {% load widget_tweaks %} {% block Style %} {% endblock Style %} {% block MainContent %}

Multiple Employee Monthly Attendance Report

{% if request.user.is_superuser == True %} {% include 'report_app/multiple_employee_monthly_report/super_admin_forms.html' %} {% endif %} {% if request.user.user_type == 'Mother_Organization_admin' %} {% include 'report_app/multiple_employee_monthly_report/mother_admin_forms.html' %} {% endif %} {% if request.user.user_type == 'Sister_Organization_admin' %} {% include 'report_app/multiple_employee_monthly_report/sister_admin_forms.html' %} {% endif %} {% if request.user.user_type == 'Branch' %} {% include 'report_app/multiple_employee_monthly_report/branch_admin_forms.html' %} {% endif %}
{% if all_employee_dict %}
{% for employee in all_employee_dict %}

{{ branch }}

{{ branch.address_details }}
{% comment %}
{% endcomment %}
Name: {{employee.0.name_en}}  ID:{{employee.0.employee_code}}  Line:{{employee.0.work_place}}  Designation:{{employee.0.designation}}   Department:{{employee.0.department}}
{% comment %}
Employee Code:{{employee.employee_code}}
Designation:{{employee.designation}}
{% endcomment %}
{% comment %}
{% endcomment %}
Multiple Employee Monthly Attendance Report {%if department %} (Department : {{department}}) {% endif %} {% if designation %} (Designation : {{designation}}) {% endif %} {% if month %} {{month}}  -  {{year}} {% endif %}
{% for report in employee.1 %} {% if employee.0.over_time == 'Eligible' %} {% else %} {% endif %} {% endfor %}
Date Status In Time Out Time Over Time Working Shift
{{report.1.date}} {{report.1.status}} {{report.1.in_time |time:'h:i a'}} {{report.1.out_time |time:'h:i a'}}{{report.1.over_time}}{{report.1.shift}}
Present : {{employee.6}}     Leave: {{employee.8}}    Holiday: {{employee.5}}     Absent: {{employee.4}}     Total Present: {{employee.2}} Total Over Time: {% if employee.0.over_time == 'Eligible' %} {{employee.3}} {% else %} 0.0 {% endif %}
CL : {% for date in employee.7.CL %} {{date}}, {% endfor %} SL : {% for date in employee.7.SL %} {{date}}, {% endfor %}
ML : {% for date in employee.7.ML %} {{date}}, {% endfor %} OL : {% for date in employee.7.OL %} {{date}}, {% endfor %}
Unpaid Leave : {% for date in employee.7.UL %} {{date}}, {% endfor %} EL : {% for date in employee.7.EL %} {{date}}, {% endfor %}
{% endfor %}
{% endif %} {% endblock MainContent %} {% block meassage %} {% include 'notifications/notifications.html' %} {% endblock meassage %} {% block JS %} {% endblock JS%}