{% extends 'backend/reservations/service/summaryService.html.twig' %} {% block icon %}widgets{% endblock %} {% block service_tools %} {% if is_granted("RESERV_SERVICE_CLONE") and is_granted("MODIFY", service) %}
{% endif %} {% if is_granted("MODIFY", service) %} {% if is_granted("APPROVE", service) %} {% endif %} {% if is_granted("DENY", service) %} {% endif %} {% endif %} {% if service.tariff == null and is_granted("RESERV_TARIFF_CREATE") and is_granted('CREATE_TARIFF', service) %} {% elseif is_granted("RESERV_TARIFF_EDIT") and is_granted("MODIFY", service.tariff) %} {% elseif service.tariff %} {% endif %} {% if is_granted("SHOW_PAYMENT", service) %} {% endif %} {% if is_granted("RESERV_PROVIDER_CREDIT_ACCOUNT_MOVEMENT_NEW") and service.canSendServicePaymentsToProviderCredit %} {% endif %} {% if service.tariff %} {% if is_granted("RESERV_SERVICE_DOCUMENTS") and is_granted("DOCUMENTED", service) %} {% endif %} {% endif %} {% if is_granted("REFUND", service) %} {% endif %} {% if is_granted("RESERV_SERVICE_EDIT") and service.canBeCanceled %} {% if service.canceled %} {% else %} {% endif %} {% endif %} {% if is_granted("RESERV_SERVICE_DELETE") and is_granted("DELETE", service)%} {% endif %} {% endblock %} {% block service_info %}