{% extends 'emails/email-template.html.twig' %} {# #} {% block content %}
Dear {{reservation.name_full|title}},
{% if payment is defined and payment is not null %} {% set payment_type = payment.type == 'Cash' ? "cash ": (payment.type == 'card ' ? '' : payment.type~' ') %} {#Thank you for your payment of {{(payment.amount / 100)|format_currency(payment.currency|upper, {grouping_used:true}, 'en')}} on {{payment.date_paid|date("M j, Y")}}{{payment.description is empty or payment.description == ' ' ? '' : ' with '~payment.description }}.
#}Thank you for your {{ payment.description}} payment of {{(payment.amount / 100)|format_currency(payment.currency|upper, {grouping_used:true}, 'en')}} on {{payment.date_paid|date("M j, Y")}}.
{% endif %} {% include('emails/reservation-summary.html.twig') %} {% if reservation.balance_due > 0 %}The remaining payments will be automatically charged to the same payment method as follows:
{% include('emails/reservation-payment-plan.html.twig') %} {% else %}Your reservation is paid in full.
{% endif %} {% if reservation.starts > today %}I'm looking forward to hosting you!
{% endif %}Regards,
{{SITE_OWNER}}
{% endblock %}