{% extends "layouts/base.html" %} {% block table %} {% block header %}{% endblock %} <{ mail_content center=True }> {% block before_invoice %}{% endblock %} {% block invoice %} <{ mail_block }>
{% block invoice_header %}{{ invoice_header|default('Invoice')|nl2br }}{% endblock %}
{% block invoice_items %} {% for label, quantity, amount in invoice_items %} {% endfor %} {% if invoice_tax %} {% endif %} {% endblock %}
{{ label }} {% if quantity is not none %} x {{quantity}}{% endif %} {{ invoice_currency|default("$") }} {{ amount }}
Tax {% if invoice_tax_rate %}({{invoice_tax_rate}}%){% endif %} {{ invoice_currency|default("$") }} {{ invoice_tax }}
Total {{ invoice_currency|default("$") }} {{ invoice_total }}
{% block invoice_footer %}{% endblock %}
{% endblock %} {% block after_invoice %}{% endblock %} {% block signature %}{% endblock %} {% endblock %}