Explorar el Código

Merge branch 'develop'

master
Guillaume Bourgeois hace 1 año
padre
commit
faa1a69bc9
Se han modificado 2 ficheros con 5 adiciones y 3 borrados
  1. +0
    -3
      Factory/Address/AddressFactory.php
  2. +5
    -0
      Resources/views/admin/user/field/newsletters.html.twig

+ 0
- 3
Factory/Address/AddressFactory.php Ver fichero

@@ -15,9 +15,6 @@ class AddressFactory extends AbstractFactory
$class = AddressContainer::getEntityFqcn();
$address = new $class;

$address->setMerchant($merchant);

return $address;
}

}

+ 5
- 0
Resources/views/admin/user/field/newsletters.html.twig Ver fichero

@@ -0,0 +1,5 @@
{% if entity.instance.getNewsletters()|length %}
<span class="badge badge-success">Oui</span>
{% else %}
<span class="badge badge-secondary">Non</span>
{% endif %}

Cargando…
Cancelar
Guardar