WIP: Adjust model, remove manager branch in navigation
This commit is contained in:
@@ -21,14 +21,14 @@
|
||||
{{ knp_pagination_sortable(pagination, 'Jobprofil', 'assignment.jobProfile') }}
|
||||
</th>
|
||||
<th>
|
||||
{{ knp_pagination_sortable(pagination, 'Destination', 'assignment.destinationBusProId') }}
|
||||
</th>
|
||||
<th>
|
||||
{{ knp_pagination_sortable(pagination, 'Busabfahrt', 'assignment.pickupDate') }}
|
||||
{{ knp_pagination_sortable(pagination, 'Destination', 'destination.dateFrom') }}
|
||||
</th>
|
||||
<th>
|
||||
{{ knp_pagination_sortable(pagination, 'Busbegleitung ab', 'assignment.pickup') }}
|
||||
</th>
|
||||
<th>
|
||||
Bewerbungen
|
||||
</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -36,22 +36,28 @@
|
||||
{% for assignment in pagination %}
|
||||
<tr>
|
||||
<td>
|
||||
{{ assignment.dateFrom|date('d.m.Y') }}
|
||||
{% set dateFrom = assignment.dateFrom ? assignment.dateFrom : assignment.destination.dateFrom %}
|
||||
{{ dateFrom|date('d.m.Y') }}
|
||||
</td>
|
||||
<td>
|
||||
{{ assignment.dateTo|date('d.m.Y') }}
|
||||
{% set dateTo = assignment.dateTo ? assignment.dateTo : assignment.destination.dateTo %}
|
||||
{{ dateTo|date('d.m.Y') }}
|
||||
</td>
|
||||
<td>
|
||||
{{ assignment.jobProfile.name }}
|
||||
</td>
|
||||
<td>
|
||||
{{ assignment.destinationBusProId|bpn_destination_label }}
|
||||
{{ assignment.destination.product }}
|
||||
<br>
|
||||
{{ assignment.destination.hotel }}
|
||||
</td>
|
||||
<td>
|
||||
{{ assignment.pickupDate|date('d.m.Y') }}
|
||||
{{ assignment.pickup ? assignment.pickup|bpn_pickup_label|default('-') : '-' }}
|
||||
<br>
|
||||
{{ assignment.pickupDate ? assignment.pickupDate|date('d.m.Y') : '' }}
|
||||
</td>
|
||||
<td>
|
||||
{{ assignment.pickup|bpn_pickup_label|default('-') }}
|
||||
{{ assignment.applications|length }}
|
||||
</td>
|
||||
<td>
|
||||
<div class="flex items-center space-x-1 justify-end">
|
||||
|
||||
Reference in New Issue
Block a user