瀏覽代碼

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

Loading…
取消
儲存