{% extends "email/base.html" %} {% block title %}Payment received: Praxicraft{% endblock %} {% block hero %} {% include "email/partials/_hero.html" with hero_variant="success" hero_title=payment_hero_title|default:"Payment received" hero_subtitle=payment_hero_subtitle|default:"Thank you. Your payment is recorded." hero_icon="check-circle.png" hero_accent_icon="smile.png" %} {% endblock %} {% block content %}

Hi {{ admin_name }},

{% if customer_type == "engineer" %} We received your payment for the {{ plan_name }} plan. {% else %} We received payment for {{ company_name }}’s {{ plan_name }} plan. {% endif %}

{% include "email/partials/_detail_row.html" with pill_label="PLAN" pill_value=plan_name pill_variant="gray" pill_radius="top" %} {% include "email/partials/_detail_row.html" with pill_label="AMOUNT PAID" pill_value=invoice_amount pill_variant="gray" %} {% if paid_at %} {% include "email/partials/_detail_row.html" with pill_label="DATE PAID" pill_value=paid_at pill_variant="gray" %} {% endif %} {% include "email/partials/_detail_row.html" with pill_label="PAYMENT METHOD" pill_value=payment_gateway pill_variant="gray" %} {% include "email/partials/_detail_row.html" with pill_label="STATUS" pill_value="Paid" pill_variant="success" pill_border="none" pill_radius="bottom" %}
{% if has_receipt_pdf or receipt_url or hosted_invoice_url %}

{% if has_receipt_pdf %} Your payment receipt is attached to this email. {% if receipt_url or hosted_invoice_url %} You can also view it online. {% endif %} {% elif receipt_url or hosted_invoice_url %} View your payment receipt. {% endif %}

{% endif %} {% include "email/partials/_cta.html" with cta_url=receipt_url|default:hosted_invoice_url|default:billing_url cta_label="View receipt" %} {% endblock %}