Invoice Sent to {{ order.customer_email }}
{% if email_logs %}
Sent {{ email_logs.0.sent_at|date:"d M Y, H:i" }}
{% if email_logs|length > 1 %} · {{ email_logs|length }} times{% endif %}
{% else %}
Not sent yet
{% endif %}
{% if email_logs %}
{% else %}
No invoice email has been sent for this order yet.
{% endif %}
Order & Payment
Item
Qty
Unit
Total
{% for item in order.items.all %}
{{ item.product_name }}
{% if item.domain_name %} {{ item.domain_name }} ({{ item.registration_years }} yr)
{% endif %}
{% if item.custom_description %}{{ item.custom_description }}
{% endif %}
{{ item.quantity }}
{{ site.currency_symbol|default:"£" }}{{ item.unit_price }}
{{ site.currency_symbol|default:"£" }}{{ item.total_price }}
{% endfor %}
{% if order.tax_amount %}
VAT
{{ site.currency_symbol|default:"£" }}{{ order.tax_amount }}
{% endif %}
Total
{{ site.currency_symbol|default:"£" }}{{ order.total }}
Paid
{{ site.currency_symbol|default:"£" }}{{ order.amount_paid }}
Stripe Charges{% if order.stripe_fee_is_estimated %} (estimated) {% endif %}
{% if order.stripe_fee_effective %}−{{ site.currency_symbol|default:"£" }}{{ order.stripe_fee_effective }}{% else %}{{ site.currency_symbol|default:"£" }}0.00{% endif %}
Profit
{{ site.currency_symbol|default:"£" }}{{ order.net_profit }}
{% if order.balance_due > 0 %}
Balance Due
{{ site.currency_symbol|default:"£" }}{{ order.balance_due }}
{% endif %}
{% if order.paid_at or order.card_last4 or order.stripe_payment_intent_id %}
{% endif %}
{% if order.customer_notes %}
Customer Notes
{{ order.customer_notes }}
{% endif %}
Internal Notes
Save Notes
{% for item in order.items.all %}
{% if item.domain_name %}
Domain — {{ item.domain_name }}
{% if item.domain_registration %}
{% with reg=item.domain_registration %}
{% endwith %}
{% else %}
No registration record yet.
{% endif %}
{% endif %}
{% endfor %}
{% with ag=order.agreements.first %}
{% if ag %}
{% if ag.is_accepted %}Signed by {{ ag.signed_name }}, {{ ag.accepted_at|date:"d M Y, H:i" }}
{% else %}Sent to {{ ag.sent_to_email }}{% if ag.sent_at %}, {{ ag.sent_at|date:"d M Y, H:i" }}{% endif %}, awaiting signature
{% endif %}
{% endif %}
{% if ag %}Resend Deal Link{% else %}Send Deal Link{% endif %}
{% endwith %}
{% if order.status != 'refunded' and order.status != 'cancelled' %}
{% else %}
{% if order.status == 'refunded' %}Order has been refunded{% else %}Order is cancelled{% endif %}
{% endif %}