fix invoice preview (#1129)

This commit is contained in:
Kevin Papst
2019-09-20 16:00:03 +02:00
committed by GitHub
parent 5aa422dde1
commit e45e782e7d
9 changed files with 39 additions and 31 deletions

View File

@@ -2,7 +2,8 @@
{% macro invoices(view) %}
{% import "macros/widgets.html.twig" as widgets %}
{% set actions = {} %}
{% set actions = {'visibility': '#modal_invoice'} %}
{% if is_granted('manage_invoice_template') %}
{% set actions = actions|merge({'list': path('admin_invoice_template')}) %}
{% endif %}