prevent duplicate if overlapping records are disabled (#2311)

This commit is contained in:
Kevin Papst
2021-02-06 17:31:14 +01:00
committed by GitHub
parent 8d41fa20bd
commit 9eb25c412e
9 changed files with 2110 additions and 1130 deletions

View File

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