{% extends 'emails/email-template.html.twig' %} {# #} {% block content %} {% if owner is defined %}

Message via {{reservation.source}} from guest:
{{reservation.notes}}


Email sent to client:

{% else %} {% endif %}

Dear {{reservation.name_full|title}},

{% if reservation.calendar_state == 'blocked'%}

Your vacation home reservation with {{SITE_NAME}} is not confirmed because there is a problem with your dates. Please contact us for assistance.

{% include('emails/reservation-summary.html.twig') %} {% else %}

Your vacation home reservation with {{SITE_NAME}} is confirmed!

{% include('emails/reservation-summary.html.twig') %} {% if reservation.source != 'airbnb' %} {% if reservation.total_paid > 0 %}

Thank you for your payment of {{((reservation.total_paid - reservation.total_refund) / 100)|format_currency(reservation.currency_code|upper, {grouping_used:true}, 'en')}}.

The remaining payments will be charged to your chosen payment method as follows:

{% else %}

In order to keep your reservation current, payment is due as follows:

{% endif %} {% include('emails/reservation-payment-plan.html.twig') %} {% endif %}

Thank you for choosing {{SITE_NAME}} for your Holiday Home! We look forward to hosting you.

{% endif %}

Kind regards,
{{SITE_OWNER}}

{% endblock %}