{% if reservation is defined %}
{% if reservation.approvedQuotation.assertServicesTariffs is not null %}
{{ 'Debe aprobar las tarifas de la cotización para poder gestionar pagos.' }}
{% endif %}
{% if reservation.approvedQuotation.isTotalPayedByClient == false and reservation.approvedQuotation.assertServicesTariffs is null %}
{% endif %}
{% else %}
{% if service.tariff.status not in ['ACC','APP'] %}
{{ 'Debe aprobar la tarifa para poder gestionar pagos.' }}
{% endif %}
{% if service.isCanceled == false and service.isTotalPayedToProvider == false and service.tariff.status in ['ACC','APP'] %}
{% endif %}
{% endif %}