Project

General

Profile

« Previous | Next » 

Revision d9c011a6

Added by Mikaël Ates over 10 years ago

agenda: hidden occurrence delete icon when the associated act is already billed.

View differences:

calebasse/agenda/templates/agenda/ajax-worker-tab.html
58 58
          {% else %}
59 59
            <button title="Éditer un événement" class="edit-event icon-edit" data-event-id="{{ appointment.event_id }}">
60 60
          {% endif %}
61
          {% if not appointment.is_billed %}
61
          {% if not appointment.already_billed %}
62 62
          <button class="remove-appointment icon-remove-sign" title="Supprimer un rendez-vous" data-url="{% url 'delete-occurrence' service=service date=date pk=appointment.event_id %}" data-rdv="{{ appointment.title }}"></button>
63 63
          {% endif %}
64 64
         {% endif %}

Also available in: Unified diff