{% if field.value is not empty %} {% for orderProduct in field.value %} {% set orderProductDetailUrl = ea_url() .setController('App\\Controller\\Admin\\OrderProductCrudController') .setAction(constant('EasyCorp\\Bundle\\EasyAdminBundle\\Config\\Action::DETAIL')) .setEntityId(orderProduct.id) %} {{ orderProduct.title }} - {{ orderProduct.quantity }} {% endfor %} {% else %} Pas d'articles {% endif %}