ADD: add a cleared event status to indicate the financal clearance.
This commit is contained in:
@@ -145,6 +145,17 @@
|
||||
{% trans 'Veröffentlichung bestätigen' %}
|
||||
</a>
|
||||
{% endif %}
|
||||
{% if has_permission_clear %}
|
||||
<a id="btn-confirmclearance" class="btn btn-sm {% if not is_cleared %}btn-black{% else %}btn-default disabled{% endif %}"
|
||||
href="{% url 'dav_events:updatestatus' event.pk 'cleared' %}">
|
||||
{% if is_cleared %}
|
||||
{% bootstrap_icon 'check' %} 
|
||||
{% else %}
|
||||
{% bootstrap_icon 'unchecked' %} 
|
||||
{% endif %}
|
||||
{% trans 'Abgerechnet' %}
|
||||
</a>
|
||||
{% endif %}
|
||||
<a id="btn-clone" class="btn btn-sm btn-primary"
|
||||
href="{% url 'dav_events:create' %}?copy={{ event.pk }}"
|
||||
title="{% trans 'Diese Veranstaltung als Vorlage für eine neue Veranstaltung benutzen' %}">
|
||||
|
||||
Reference in New Issue
Block a user