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

Line Wise OT Report

{% if request.user.is_superuser == True %} {% include 'report_app/line_wise_ot/super_admin_forms.html' %} {% endif %} {% if request.user.user_type == 'Mother_Organization_admin' %} {% include 'report_app/line_wise_ot/mother_admin_forms.html' %} {% endif %} {% if request.user.user_type == 'Sister_Organization_admin' %} {% include 'report_app/line_wise_ot/sister_admin_forms.html' %} {% endif %} {% if request.user.user_type == 'Branch' or request.user.user_type == 'Regular' %} {% include 'report_app/line_wise_ot/branch_admin_forms.html' %} {% endif %}
{% if all_employee_dict %} {% comment %} {{report}} {% endcomment %}

{{ branch }} {{work_place.name_en}}

{{ branch.address_details }}
{% if work_place %} {{work_place.working_place}} {% endif %}
{% if request.user.is_superuser == True %} {% endif %} {% for employee in all_employee_dict %} {% for temp in employee.1 %} {% if employee.0.over_time == 'Eligible' %} {% else %} {% endif %} {% if request.user.is_superuser == True %} {% endif %} {% endfor %} {% endfor %}
Date ID Name In Out WH OT statuscreated_by updated_by input_method
{{temp.1.date}} {{employee.0.employee_code}} {{employee.0.name_en}} {{temp.1.in_time |time:'h:i'}} {{temp.1.out_time |time:'h:i'}} {{temp.1.Working_time}}{{temp.1.over_time}}{{temp.1.status}}{{report.1.created_by}} {{report.1.updated_by}} {{report.1.input_method}}
Total OT: {{grand_ot}}
{% endif %} {% endblock MainContent %} {% block meassage %} {% include 'notifications/notifications.html' %} {% endblock meassage %} {% block JS %} {% endblock JS%}