permission check for mark-as-exported buttons (#3313)

This commit is contained in:
Kevin Papst
2022-05-18 12:54:59 +02:00
committed by GitHub
parent 9e2a295182
commit 913839727c
7 changed files with 48 additions and 13 deletions

View File

@@ -50,7 +50,9 @@
{{ form_row(form.billable) }}
{{ form_row(form.exported) }}
{{ form_row(form.state) }}
{{ form_row(form.markAsExported) }}
{% if form.markAsExported is defined %}
{{ form_row(form.markAsExported) }}
{% endif %}
{% endblock %}
{% block box_footer%}
{{ search.searchButton(form) }}

View File

@@ -53,7 +53,9 @@
{{ form_row(form.exported) }}
{% endif %}
{{ form_row(form.template) }}
{{ form_row(form.markAsExported) }}
{% if form.markAsExported is defined %}
{{ form_row(form.markAsExported) }}
{% endif %}
{% endblock %}
{% block box_footer%}
{{ search.searchButton(form) }}