76 lines
3.2 KiB
Twig
76 lines
3.2 KiB
Twig
{% extends 'admin/layout.html.twig' %}
|
|
|
|
{% block title %}Bewerbungsübersicht{% endblock %}
|
|
|
|
{% block content %}
|
|
<h1 class="text-2xl font-bold pb-8">
|
|
Bewerbungsübersicht
|
|
</h1>
|
|
<div class="data-table-wrapper">
|
|
<div class="data-table-wrapper__inner">
|
|
<table class="data-table">
|
|
<thead>
|
|
<tr>
|
|
<th>
|
|
{{ knp_pagination_sortable(pagination, 'Einsatzbeginn', 'destination.dateFrom') }}
|
|
</th>
|
|
<th>
|
|
{{ knp_pagination_sortable(pagination, 'Einsatzende', 'destination.dateTo') }}
|
|
</th>
|
|
<th>
|
|
{{ knp_pagination_sortable(pagination, 'Jobprofil', 'job_profile.name') }}
|
|
</th>
|
|
<th>
|
|
{{ knp_pagination_sortable(pagination, 'Destination', 'destination.product') }}
|
|
</th>
|
|
<th>
|
|
{{ knp_pagination_sortable(pagination, 'Busbegleitung ab', 'destination.pickup') }}
|
|
</th>
|
|
<th>
|
|
{{ knp_pagination_sortable(pagination, 'Bewerber*in', 'teamer.lastName') }}
|
|
</th>
|
|
<th></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for application in pagination %}
|
|
{% set assignment = application.assignment %}
|
|
<tr>
|
|
<td>
|
|
{{ assignment.destination.dateFrom|date('d.m.Y') }}
|
|
</td>
|
|
<td>
|
|
{{ assignment.destination.dateTo|date('d.m.Y') }}
|
|
</td>
|
|
<td>
|
|
{{ assignment.jobProfile.name }}
|
|
</td>
|
|
<td>
|
|
{{ assignment.destination.product }}
|
|
<br>
|
|
{{ assignment.destination.hotel }}
|
|
</td>
|
|
<td>
|
|
{{ assignment.pickup ? assignment.pickup|bpn_pickup_label : '-' }}
|
|
</td>
|
|
<td>
|
|
{{ application.teamer }}
|
|
</td>
|
|
<td>
|
|
|
|
</td>
|
|
</tr>
|
|
{% else %}
|
|
<tr>
|
|
<td colspan="7">
|
|
<div class="text-center">
|
|
Keine Daten
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
{% endblock %} |