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

Single Employee Monthly Attendance Report

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

{{ 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 Monthly Attendance Report {%if department %} (Department : {{department}}) {% endif %} {% if designation %} (Designation : {{designation}}) {% endif %} {% if month %} {{month}}  -  {{year}} {% endif %}
{% if request.user.is_superuser == True %} {% endif %} {% for report in report_dict %} {% if employee.over_time == 'Eligible' %} {% else %} {% endif %} {% if request.user.is_superuser == True %} {% endif %} {% endfor %} {% if request.user.is_superuser == True %} {% endif %} {% if request.user.is_superuser == True %} {% else %} {% endif %} {% if request.user.is_superuser == True %} {% else %} {% endif %} {% if request.user.is_superuser == True %} {% else %} {% endif %}
Date Status In Time Out Time Over Time Working Hourcreated_by updated_by input_method
{{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.Working_time}}{{report.1.created_by}} {{report.1.updated_by}} {{report.1.input_method}}
Present : {{present}}     Leave : {{total_leave}}     Holiday: {{total_holiday}}     Absent: {{total_absent}}     Total Present: {{total_present}} Total Over Time: {% if employee.over_time == 'Eligible' %} {{total_OT}} {% else %} 0.0 {% endif %}
CL : {% for date in leave_type_date.CL %} {{date}}, {% endfor %} SL : {% for date in leave_type_date.SL %} {{date}}, {% endfor %}CL : {% for date in leave_type_date.CL %} {{date}}, {% endfor %} SL : {% for date in leave_type_date.SL %} {{date}}, {% endfor %}
ML : {% for date in leave_type_date.ML %} {{date}}, {% endfor %} OL : {% for date in leave_type_date.OL %} {{date}}, {% endfor %} ML : {% for date in leave_type_date.ML %} {{date}}, {% endfor %} OL : {% for date in leave_type_date.OL %} {{date}}, {% endfor %}
Unpaid Leave : {% for date in leave_type_date.UL %} {{date}}, {% endfor %} EL : {% for date in leave_type_date.EL %} {{date}}, {% endfor %} Unpaid Leave : {% for date in leave_type_date.UL %} {{date}}, {% endfor %} EL : {% for date in leave_type_date.EL %} {{date}}, {% endfor %}
{% endif %} {% endblock MainContent %} {% block meassage %} {% include 'notifications/notifications.html' %} {% endblock meassage %} {% block JS %} {% endblock JS%}