src/Flexy/ShopBundle/templates/orders/field/logHistoryData.html.twig line 1
{# @var ea \EasyCorp\Bundle\EasyAdminBundle\Context\AdminContext #}{# @var field \EasyCorp\Bundle\EasyAdminBundle\Dto\FieldDto #}{# @var entity \EasyCorp\Bundle\EasyAdminBundle\Dto\EntityDto #}<ul class="list-group">{% for key, singleData in field.value %}<li class="list-group-item">{{key|trans({},"admin")}} :{% if singleData.timestamp is defined %}{{ singleData|date('m/d/Y H:i') }}{% else %}{% if singleData is iterable %}{% for singleValue in singleData %}{% if key == "customer" %}{{ shopProvider.getCustomerById(singleValue) }}{% else %}{{ singleValue }},{% endif %}{% endfor %}{% else %}{% if key == "customer" %}{{ shopProvider.getCustomerById(singleData) }}{% else %}{{ singleData }}{% endif %}{{ singleData }}{% endif %}{% endif %}</li>{% endfor %}</ul>