{# @var ea \EasyCorp\Bundle\EasyAdminBundle\Context\AdminContext #}
{# @var field \EasyCorp\Bundle\EasyAdminBundle\Dto\FieldDto #}
{# @var entity \EasyCorp\Bundle\EasyAdminBundle\Dto\EntityDto #}
{% set colorRgb = entity.instance.vestiging.colorRgb %}
{#<div class="container border border-1 border-success rounded pt-2 pb-2" style="--bs-success-rgb: {{colorRgb}};">#}
<div class="container border border-1 border-success rounded pt-2 pb-2" style="--bs-success-rgb: {{colorRgb}};"> <div id="record" class="col-12">
<table id="table21" class="table datagrid">
<thead>
<tr class="d-flex">
<th colspan="3" class="col-12">
<div class="">
<p class="ps-2 mb-1">Workflow overzicht</p>
</div>
</th>
</tr>
</thead>
<tbody>
{% for key, value in field.formattedValue[0] %}
<tr class="d-flex">
<td class="col-3">
<div class="">
<p class="float-end mb-0 text-secondary">{{ key|raw }}:</p>
</div>
</td>
<td class="col-8">
<div class="">
<p class="float-start mb-0" style="{{ field.formattedValue[3][key] }}">{{ value|raw|nl2br }}</p>
</div>
</td>
<td class="col-1">
<div class=' float-start {{ field.formattedValue[1][key] }}'></div>
</td>
</tr>
{% if field.formattedValue[2][key] %}
<tr class="d-flex">
<td class="col-3">
<div>
<p></p>
</div>
</td>
<td colspan="2" class="col-9">
<p class="mb-0">{{ field.formattedValue[2][key]|raw|nl2br }}</p>
</td>
</tr>
{% endif %}
{% endfor %}
</table>
</tbody>
</div>
</div>