{% if quotation.reservation.client.clientType.name=="Con-tacto"%} {% else %} {% endif %}
{# {% if quotation.reservation.client.clientType.name=="Con-tacto"%}
{% else %}
{% endif %} #}
Cotización #{{ reservation.id~'-'~quotation.number }}

{% if reservation.showClientData %}

Cliente: {{ reservation.client.fullName|raw |raw }}

{% endif %} {% if reservation.showAgentData %}

Agente: {{ reservation.user.fullName|raw |raw }}

{% endif %}
Folio de la cotización: {{ reservation.id~'-'~quotation.number }} {% if reservation.showClientData and reservation.client.membership %} Membresía: {{ reservation.client.membership.affiliationNumber }} Contrato: {{ reservation.client.membership.activeContract ? reservation.client.membership.activeContract.contractNumber : "Sin contrato vigente" }} {% endif %} Fecha de creación: {{ quotation.sendDate|date("d-m-Y H:i") }} {# Fecha de creación: {{ quotation.createdDate|date("d-m-Y H:i") }}#} {#Fecha de expiración: {{ quotation.expirationDate|date("d-m-Y H:i")|default('No definida') }}#}
{% if reservation.showAgentData %} Whatsapp: {{ reservation.user.person.celphone?reservation.user.person.celphone:'Sin Whatsapp' }} Correo electrónico: {{ reservation.user.person.email?reservation.user.person.email:'Sin email' }} {% endif %}

Con el gusto de saludarle, estamos muy agradecidos por escoger {{quotation.reservation.client.clientType.name=="Con-tacto"?"Con-tacto":"Mar Paraíso Queen" }} como organizador de su viaje. De acuerdo a su solicitud le hago llegar las siguientes opciones, esperando sean de agrado. En caso de requerir alguna modificación u otras opciones le pido avisarme para hacer los cambios correspondientes.

{{ "services"|trans | upper}}


{% for dKey,destination in services %}

{% if dKey != 'no_destination' %} {{ 'destination'|trans|capitalize }}: {{ dKey }} {% endif %}

{% for key,service in destination %} {% if key in ["hotel", "certificate", "wrapUpWeek"] %}
{% include "backend/reservations/pdf/transformed/hotel.html.twig" with {'type':key} %}
{% elseif key in ["air", "bus", "car", "tour", "transfer", "insurance", "cruise"] %}
{% include "backend/reservations/pdf/transformed/"~key~".html.twig" with {'type':key} %}
{% endif %} {% endfor %} {% endfor %} {% for service in quotation.services %} {% if service.packageService ==null %} {% if service.getType not in ["hotel", "certificate", "wrapUpWeek", "air", "bus", "car", "cruise", "tour", "transfer", "insurance"] %} {% include "backend/reservations/pdf/summary"~service.type[:1]|upper~service.type[1:]~".html.twig" with {'toClient':true} %} {% endif %} {% endif %} {% endfor %}
{{ include('backend/reservations/quotation/terms.html.twig') }}