{% extends 'email/base.html.twig' %} {% block title %}Payment Received - Invoice #{{ invoice.displayInvoiceNumber }}{% endblock %} {% block content %}

Payment Received!

Thank you, {{ customer.name }}. We've received your payment.

Payment Confirmed

Your payment of {{ payment.currency.symbol }}{{ payment.amount|number_format(2, '.', ',') }} has been successfully recorded.

{% if payment.referenceNumber %} {% endif %}
Invoice Number #{{ invoice.displayInvoiceNumber }}
Payment Amount {{ payment.currency.symbol }}{{ payment.amount|number_format(2, '.', ',') }}
Payment Date {{ payment.paymentDate|date('F d, Y') }}
Payment Method {{ payment.paymentMethod.label }}
Reference Number {{ payment.referenceNumber }}

Invoice Summary

Invoice Total {{ invoice.formattedTotal }}
Total Paid {{ invoice.currency.symbol }}{{ invoice.totalPaid|number_format(2, '.', ',') }}
Balance Due {% if invoice.balanceDue <= 0 %} PAID IN FULL {% else %} {{ invoice.currency.symbol }}{{ invoice.balanceDue|number_format(2, '.', ',') }} {% endif %}
{% if invoice.balanceDue <= 0 %}

Invoice Fully Paid

This invoice has been paid in full. Thank you for your business!

{% else %}

Remaining Balance

A balance of {{ invoice.currency.symbol }}{{ invoice.balanceDue|number_format(2, '.', ',') }} is still outstanding on this invoice.

{% endif %} {% if statusUrl %}
View Invoice
{% endif %}

This email serves as your payment receipt. Please keep it for your records.

{% endblock %}