{% extends 'teamer/layout.html.twig' %} {% block title %}Einsatzübersicht{% endblock %} {% block content %}
| {{ knp_pagination_sortable(pagination, 'Einsatzzeitraum', 'assignment.dateFrom') }} | {{ knp_pagination_sortable(pagination, 'Jobprofil', 'assignment.jobProfile') }} | {{ knp_pagination_sortable(pagination, 'Destination', 'destination.dateFrom') }} | {{ knp_pagination_sortable(pagination, 'Bus', 'assignment.pickup') }} | ||
|---|---|---|---|---|---|
|
{{ assignment.effectivePeriod.start|date('d.m.Y') }} -
{{ assignment.effectivePeriod.end|date('d.m.Y') }} |
{{ assignment.jobProfile.name }} |
{{ assignment.destination.product }}
{{ assignment.destination.hotel }} |
{{ assignment.pickup ? assignment.pickup|bpn_pickup_label|default('-') : '-' }}
{{ assignment.effectivePickupDate ? assignment.effectivePickupDate|date('d.m.Y') : '' }} |
{% if assignment.applications|length %} {% set icon = 'hourglass' %} {% set class = 'bg-yellow-100 text-yellow-800 hover:bg-yellow-50' %} {% set url = path('app_teamer_assignment', { 'uuid': assignment.uuid, 'r': return_url() }) %} {% elseif assignment.dispositions|length %} {% set icon = 'check' %} {% set class = 'bg-green-100 text-green-700 hover:bg-green-50' %} {% set url = path('app_teamer_disposition_detail', { 'uuid': assignment.dispositions[0].uuid }) %} {% else %} {% set icon = 'info' %} {% set class = 'btn--info' %} {% set url = path('app_teamer_assignment', { 'uuid': assignment.uuid, 'r': return_url() }) %} {% endif %} {{ icon(icon, 'w-4 h-4') }} | |
| Keine Daten... | |||||