{% extends '::email.html.twig' %} {% block subject %} {{ subject }} {% endblock %} {% block body %}

{% if type == 'admin' %} Hi,

The customer invoice {{ invoice.docNo }} has been provisioned.

Click here to view the order

{% else %}

Hi {{ customer.Firstname }},

The items you ordered in invoice {{ invoice.docNo }} have been provisioned and are now active.

Thank you for your order.

{% endif %} {% endblock %}