浏览代码

Merge branch 'develop'

master
Guillaume Bourgeois 1年前
父节点
当前提交
faa1a69bc9
共有 2 个文件被更改,包括 5 次插入3 次删除
  1. +0
    -3
      Factory/Address/AddressFactory.php
  2. +5
    -0
      Resources/views/admin/user/field/newsletters.html.twig

+ 0
- 3
Factory/Address/AddressFactory.php 查看文件

@@ -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 查看文件

@@ -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 %}

正在加载...
取消
保存