{% extends "email/base.html" %} {% block title %}New payment received: Praxicraft{% endblock %} {% block hero %} {% include "email/partials/_hero.html" with hero_variant="success" hero_title="New payment" hero_subtitle="A payment was recorded on the platform." hero_icon="check-circle.png" hero_accent_icon="confetti.png" %} {% endblock %} {% block content %}

A payment was received on the platform.

{% include "email/partials/_detail_row.html" with pill_label="CUSTOMER" pill_value=customer_email pill_variant="gray" pill_radius="top" %} {% if customer_name %} {% include "email/partials/_detail_row.html" with pill_label="NAME" pill_value=customer_name pill_variant="gray" %} {% endif %} {% include "email/partials/_detail_row.html" with pill_label="TYPE" pill_value=customer_type_label pill_variant="gray" %} {% if company_name %} {% include "email/partials/_detail_row.html" with pill_label="ORGANISATION" pill_value=company_name pill_variant="gray" %} {% endif %} {% include "email/partials/_detail_row.html" with pill_label="PLAN" pill_value=plan_name pill_variant="gray" %} {% include "email/partials/_detail_row.html" with pill_label="AMOUNT" 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="GATEWAY" pill_value=payment_gateway pill_variant="gray" %} {% if invoice_reference %} {% include "email/partials/_detail_row.html" with pill_label="INVOICE REF" pill_value=invoice_reference pill_variant="gray" %} {% endif %} {% include "email/partials/_detail_row.html" with pill_label="STATUS" pill_value="Paid" pill_variant="success" pill_border="none" pill_radius="bottom" %}
{% if hosted_invoice_url or admin_url %} {% include "email/partials/_cta.html" with cta_url=hosted_invoice_url|default:admin_url cta_label=cta_label|default:"View details" %} {% endif %} {% endblock %}