protected function getOrderShopEntity() | protected function getOrderShopEntity() | ||||
{ | { | ||||
$easyadmin = $this->request->attributes->get('easyadmin'); | $easyadmin = $this->request->attributes->get('easyadmin'); | ||||
$this->orderUtils->initOrderShop($easyadmin['item']); | |||||
return $easyadmin['item']; | return $easyadmin['item']; | ||||
} | } | ||||
{% set trans_value = 'field.'~entity_config.name~'.'~field_options.fieldName~'Options.'~value %} | |||||
{{ trans_value|trans({}, 'lcshop') }} |
{% set trans_value = 'field.Ticket.typeOptions.'~value %} | |||||
{{ trans_value|trans({}, 'lcshop') }} |
{% for val in value %} | |||||
<span class="badge badge-success"> | |||||
{% set trad = 'field.default.meanPaymentOptions.'~val.meanPayment %} | |||||
{{ trad|trans({}, 'lcshop') }} | |||||
</span> | |||||
{% endfor %} |