{% extends "base.html" %} {% load static %} {% load crispy_forms_tags %} {% block Style %} {% endblock Style %} {% block MainContent %}
{% if messages %} {% for message in messages %} {% endfor %} {% endif %} {% if request.user.is_superuser == True %}
{% 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 == 'Mother_Organization_admin' %}
{% csrf_token %}
{{form.sister_organization|as_crispy_field }}
{{form.branch|as_crispy_field }}
{% endif %} {% if request.user.user_type == 'Sister_Organization_admin' %}
{% csrf_token %}
{{form.branch|as_crispy_field }}
{% endif %}
{% if movement %}

Movement History

{% if request.user.user_type == 'Branch' or request.user.user_type == 'Regular' %} {% endif %}
{% csrf_token %} {{filter_form.action}}
{% for item in movement %} {% if item.status == 'Pending'%} {% elif item.status == 'Rejected'%} {% elif item.status == 'Approved'%} {% endif %} {% endfor %}
SL Employee Name Out Time In time Destination Reason Transport Application user Status Action Testing
{{ forloop.counter }} {{item.employee.name_en}} {{item.outtime}} {{item.intime}} {{item.destination}} {{item.reason}} {{item.transport}} {{item.application_user}} {{ item.status }} {{ item.status }} {{ item.status }} {% if item.status == 'Pending'%} {% if request.user == item.application_user %}
{% endif %} {% endif %} {% if request.user.is_superuser %}
  • {% comment %}
  • {% endcomment %}
{% endif %}
{% else %}

Movement Register

{% if request.user.user_type == 'Branch' or request.user.user_type == 'Regular' %} {% endif %}
{% csrf_token %} {{filter_form.action}}
SL Employee Name Out Time In time Destination Reason Status Transport Action
No Data Found
{% endif %} {% endblock MainContent %} {% block meassage %} {% include 'notifications/notifications.html' %} {% endblock meassage %} {% block JS %} {% endblock JS %}