feat: render called off dispositions stroke through in teamer info modal

addresses #869dv944g
This commit is contained in:
2026-08-31 15:34:24 +02:00
parent b2488e2ff4
commit e4d64558b9
@@ -45,7 +45,9 @@
<ul class="pb-4 divide-y divide-gray-200"> <ul class="pb-4 divide-y divide-gray-200">
{% for disposition in recentDispositions %} {% for disposition in recentDispositions %}
{% set destination = disposition.assignment.destination %} {% set destination = disposition.assignment.destination %}
<li class="py-1"> {% set calledOff = disposition.status == constant('App\\Entity\\Disposition::STATUS_CALLED_OFF')
or disposition.assignment.status == constant('App\\Entity\\Assignment::STATUS_CALLED_OFF') %}
<li class="py-1{% if calledOff %} line-through{% endif %}">
{{ destination.product }} {{ destination.product }}
<br> <br>
{{ destination.dateFrom|date('d.m.y') }} - {{ destination.dateTo|date('d.m.y') }} {{ destination.dateFrom|date('d.m.y') }} - {{ destination.dateTo|date('d.m.y') }}