prevent duplicate if overlapping records are disabled (#2311)
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
{% macro customers(view) %}
|
||||
{% import "macros/widgets.html.twig" as widgets %}
|
||||
|
||||
{% set actions = {'search': {'class': 'search-toggle visible-xs-inline'}, 'visibility': '#modal_customer_admin'} %}
|
||||
|
||||
{% set actions = actions|merge({'download': {'url': path('customer_export'), 'class': 'toolbar-action'}}) %}
|
||||
{% set actions = {
|
||||
'search': {'class': 'search-toggle visible-xs-inline'},
|
||||
'visibility': {'modal': '#modal_customer_admin'},
|
||||
'download': {'url': path('customer_export'), 'class': 'toolbar-action'}
|
||||
} %}
|
||||
|
||||
{% if is_granted('create_customer') %}
|
||||
{% set actions = actions|merge({'create': {'url': path('admin_customer_create'), 'class': 'modal-ajax-form'}}) %}
|
||||
|
||||
Reference in New Issue
Block a user