{% if already_paid %}
Already Paid
This invoice has already been paid. Thank you!
{% else %}
🎉
Payment Successful!
Thank you for your payment. A receipt has been sent to your email.
{% endif %}
Invoice{{ doc.number }}
Company{{ company.name if company else '—' }}
Amount${{ "%.2f"|format(doc.total) }}
You may close this window.