{% extends 'emails/email-template.html.twig' %} {# /************************************************************* File name: payment-receipt.html.twig Project: Villas3 Copyright 2025 Michael J. Miller, All rights reserved Purpose: invoice email Revision History: Date Version Details -------- -------- -------------------------------------------- 11/25/25 3.3 created **************************************************************/ #} {% 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~' ') %}

On {{ payment.date_paid|date("M j, Y") }}, a {{ payment.description }} payment of {{ (payment.amount_pending / 100)|format_currency(payment.currency|upper, {grouping_used:true}, 'en') }} failed{{ payment.error_detail ? ' due to ' ~ payment.error_detail }}.

Since the payment failed you must make this payment yourself on our website to avoid losing your reservation.

Use the link below to access your reservation on our payment portal.

Your prompt attention to this matter is appreciated.

{% endif %}

Regards,

{{ SITE_OWNER }}

{% endblock %}