added copy invoice template action (#331)

This commit is contained in:
Kevin Papst
2018-09-26 17:50:46 +02:00
committed by GitHub
parent eee7cb9bf4
commit a89ef41e81
5 changed files with 54 additions and 6 deletions

View File

@@ -27,6 +27,7 @@
<td class="hidden-xs hidden-sm">{{ entry.vat }}</td>
<td>
{% set actionButtons = {'edit': path('admin_invoice_template_edit', {'id' : entry.id, 'page': page})} %}
{% set actionButtons = actionButtons|merge({'copy': path('admin_invoice_template_copy', {'id' : entry.id, 'page': page})}) %}
{% set actionButtons = actionButtons|merge({'trash': path('admin_invoice_template_delete', {'id' : entry.id, 'page': page})}) %}
{{ widgets.button_group(actionButtons) }}
</td>