{% extends "base.html" %} {% load static %} {% load crispy_forms_tags %} {% block title %} Work Shift {% endblock title %} {% block Style %} {% endblock Style %} {% block MainContent %} {% if messages %} {% for message in messages %} {% endfor %} {% endif %} {% if request.user.is_superuser == True %}

Working Hour Control Index

{% csrf_token %}
{{form.mother_organization|as_crispy_field }}
{{form.sister_organization|as_crispy_field }}
{{form.branch|as_crispy_field }}
{% endif %} {% if request.user.user_type == 'Branch' or request.user.user_type == 'Regular' %}
{% endif %} {% if working_hour_controller_list %}

Working Hour Control Index

{% if request.user.user_type == 'Branch' or request.user.user_type == 'Regular' %} {% if 'working_shift_setup_add' in user_permission_list %} {% endif %} {% endif %}
{% for working_shift in working_hour_controller_list %} {% endfor %}
SL No Mother Organization Sister Organization Branch Weekly Max Hour Alert Hour Active Action
{{forloop.counter}} {{ working_shift.mother_organization }} {{ working_shift.sister_organization }} {{ working_shift.branch }} {{ working_shift.weekly_maximum_hour }} {{ working_shift.alert_hour }} {{ working_shift.active }}
    {% if 'working_shift_setup_update' in user_permission_list or request.user.user_type == 'Sister_Organization_admin' or request.user.user_type == 'Mother_Organization_admin' or request.user.is_superuser == True %}
  • {% endif %} {% if 'working_shift_setup_update' in user_permission_list or request.user.user_type == 'Sister_Organization_admin' or request.user.user_type == 'Mother_Organization_admin' or request.user.is_superuser == True %}
  • {% endif %}
{% endif %} {% endblock MainContent %} {% block meassage %} {% include 'notifications/notifications.html' %} {% endblock meassage %} {% block JS %} {% endblock JS %}