src/Flexy/ShopBundle/templates/orders/field/startCollectAt.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 #}
{% set order = entity.instance %}
{% set shippingMethod = order.shippingMethod %}
{#
{% if shippingMethod %}
{% set shippingInfos = shopProvider.getOrderExtraInfos(order) %}
{% else %}
{% set shippingInfos = [] %}
{% endif %}
#}
<span class="badge badge-primary">{{showRoundAndIntervalDatetime(order.startProcessingAt,shippingMethod.shippingDuration).showSlots}}</span>