{% extends "::base.html.twig" %} {% form_theme form inline_form_theme %} {% block title "List Of Approval Levels" %} {% block content %} {{ form(form) }}
List Of Approval Levels
{% for level in pagination %} {% set id = level.getId() %} {% if aplvl is not null %} {% set selid = aplvl.getId() %} {% else %} {% set selid = 0 %} {% endif %} {{ level.getInstanceLabel()}}
{{ level.getName() }}
{% else %} There are no Approval Levels created yet. {% endfor %}
{{ knp_pagination_render(pagination) }}
Approval Level Details
{% if aplvl is not null %} {% set id = aplvl.getId() %} {{ aplvl.getName() }} ({{ aplvl.getInstanceLabel()}})
Coverage{{ aplvl.getCoverageLabel() }}
Rule{{ aplvl.getRuleLabel() }}
Status{{ aplvl.getStatus() }}
{% for approver in aplvl.getActiveApprovers() %} {% if loop.index0 is divisibleby(3) %} {% endif %} {% if loop.index is divisibleby(3) %} {% endif %} {% else %} {% endfor %}
Approvers
{{ approver.getUser().getFullname() }}
There are no approvers assigned yet.
{% if aplvl.isForSpecificUnits() %} {% for lvlUnit in aplvl.getActiveLevelUnits() %} {% if loop.index0 is divisibleby(3) %} {% endif %} {% if loop.index is divisibleby(3) %} {% endif %} {% else %} {% endfor %}
Units
{{ lvlUnit.getUnit().getName() }}
There are no units assigned yet.
{% else %} Units are not applicable to a level with Global coverage. {% endif %}
{% if aplvl.mustApprove() %} Assign Levels To Trigger {% endif %} {% if aplvl.mustApprove() %} {% for triggered in aplvl.getActiveTriggeredLevels %} {% if loop.index0 is divisibleby(3) %} {% endif %} {% if loop.index is divisibleby(3) %} {% endif %} {% else %} {% endfor %}
Levels Triggered
{{ triggered.getName() }}
None
{% elseif aplvl.approvesOnRequest() %} {% for triggerer in aplvl.getActiveTriggerers %} {% if loop.index0 is divisibleby(3) %} {% endif %} {% if loop.index is divisibleby(3) %} {% endif %} {% else %} {% endfor %}
Level Triggerers
{{ triggerer.getName() }}
None specified
{% endif %}
{{ include('AlsuiteProjectBundle:ApprovalLevel:del.html.twig', {'id': id, 'modal': 'delApprovalLevel', 'object': 'Approval Level', 'action': 'Delete', 'route': path('level_del', {'id': id})}, with_context = false) }}
{% else %} Please click on an Approval level in the left panel to view its details here. {% endif %}
{% endblock %} {% block javascripts %} {% endblock %}