<li class="dropdown">
    <a href="#" class="dropdown-toggle" data-toggle="dropdown">Management <span class="caret"></span></a>
    <ul class="dropdown-menu" role="menu">
        {% if is_granted('ROLE_OTS_CORDINATOR')
            or is_granted('ROLE_SUPER_SUPERVISOR')
            or is_granted('ROLE_SUPERVISOR') %}
            <li><a href="{{ path("workorders") }}"><span class="glyphicon glyphicon-wrench"></span> Work Orders</a></li>
            <li><a href="{{ path("workorders_archived") }}"><span class="glyphicon glyphicon-hdd"></span> Archived Work Orders</a></li>
        {% endif %}

        {% if is_granted('ROLE_OTS_CORDINATOR')
            or is_granted('ROLE_SUPER_SUPERVISOR') or is_granted('ROLE_SUPERVISOR')
            or is_granted('ROLE_HUMAN_RESOURCES') %}
            <li><a href="{{ path("reports_jobs_worker") }}"><span class="glyphicon glyphicon-time"></span> Time Record</a></li>
            <li class="divider"></li>
        {% endif %}

        {% if is_granted('ROLE_ADMIN') or is_granted('ROLE_OTS_CORDINATOR')
            or is_granted('ROLE_SUPER_SUPERVISOR') or is_granted('ROLE_SUPERVISOR') %}
            <li><a href="{{ path("vgm_client") }}"><span class="glyphicon glyphicon-globe"></span> Clients</a></li>
        {% endif %}

        {% if is_granted('ROLE_HUMAN_RESOURCES') %}
            <li><a href="{{ path("workers") }}"><span class="glyphicon glyphicon-user"></span> Human resources</a></li>
        {% endif %}

        {% if is_granted('ROLE_ADMIN') %}
            <li class="divider"></li>
            <li><a href="{{ path("worktypes") }}"><span class="glyphicon glyphicon-wrench"></span> Work Types</a></li>
            <li><a href="{{ path("saletypes") }}"><span class="glyphicon glyphicon-usd"></span> Sale Types</a></li>
            <li><a href="{{ path("NPaySchedules") }}"><span class="glyphicon glyphicon-cog"></span> Payment</a></li>
            <li><a href="{{ path("vgm_departments") }}"><span class="glyphicon glyphicon-pushpin"></span> Departments</a></li>
            <li><a href="{{ path("units") }}"><span class="glyphicon glyphicon-pushpin"></span> Entities</a></li>
        {% endif %}
        <li><a href="{{ path("clockIN_clockOut") }}"><span class="glyphicon glyphicon-wrench"></span> Clock in, clock out</a></li>
    </ul>
</li>