{% extends 'ResourcesManagerV2Bundle::layout.html.twig' %} {% block title %}Resources Manager Profiles{% endblock %} {% set active = 1 %} {% block body %} {% if is_granted('ROLE_STAFF') %} {{parent()}}
Ref | Profile | Request Date | Start Date * | Supervisor | Project | Petitioner | Status | ||
---|---|---|---|---|---|---|---|---|---|
{{ demand.id |title }} | {{ demand.profile }} | {{ demand.requestdate|date(app.user.dateformat)}} | {{ demand.startdate|date(app.user.dateformat)}} | {% if is_granted('ROLE_SUPER_STAFF') and demand.supervisor is empty %}{% else %} | {{demand.supervisor}} | {% endif %}{{ demand.project }}, Budget {{ demand.project.budget }} | {{ demand.petitioneruser }} | {% if demand.status == "Pending" %}{{ demand.status }} |
{% else %}
{% endif %}
* Start Date is the date of resource incorporation.
Pending Requests | {% for status in demandsstatus %} {% if status.name == "Pending" %} {{ status.total }} {% endif %} {% endfor %} |
---|---|
Assigned Requests | {% for status in demandsstatus %} {% if status.name == "Assigned" %} {{ status.total }} {% endif %} {% endfor %} |
Declined Requests | {% for status in demandsstatus %} {% if status.name == "Declined" %} {{ status.total }} {% endif %} {% endfor %} |
TOTAL | {{demands |length}} |
Ref | Profile | Resource | Request Date | Project | Petitioner | Status | ||
---|---|---|---|---|---|---|---|---|
{{ demand.id |title }} | {{ demand.profile }} |
|
{{ demand.requestdate|date(app.user.dateformat)}} | {{ demand.project }} | {{ demand.petitioneruser }} | {% if demand.status == "Declined" %}{{ demand.status }} |
{% else %}
{{ demand.status }} |
{% endif %}