$class = AddressContainer::getEntityFqcn(); | $class = AddressContainer::getEntityFqcn(); | ||||
$address = new $class; | $address = new $class; | ||||
$address->setMerchant($merchant); | |||||
return $address; | return $address; | ||||
} | } | ||||
} | } |
{% if entity.instance.getNewsletters()|length %} | |||||
<span class="badge badge-success">Oui</span> | |||||
{% else %} | |||||
<span class="badge badge-secondary">Non</span> | |||||
{% endif %} |