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

Service

{% 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' %}

Service

{% csrf_token %}
{{form.sister_organization|as_crispy_field }}
{{form.branch|as_crispy_field }}
{% endif %} {% if request.user.user_type == 'Sister_Organization_admin' %}

Service

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

Service

{% if request.user.user_type == 'Branch' or request.user.user_type == 'Regular'%} {% if 'department_add' in user_permission_list %} {% endif %} {% endif %}
{% if service_list %}
{% for service in service_list %} {% endfor %}
SL No Service Name Project Cost Date Action
{{forloop.counter}} {{ service.service_name}} {{ service.project}} {{ service.cost}} {{ service.date}}
{% if service_list.has_other_pages %} {% endif %}
{% endif %} {% endblock MainContent %} {% block meassage %} {% include 'notifications/notifications.html' %} {% endblock meassage %} {% block JS %} {% endblock JS %}