{% extends "base.html" %} {% block title %}Invoice - {{ clinic_name | default('DentalPin') }}{% endblock %} {% block content %}

Invoice

Hello {{ patient_name }},

Please find the details of invoice #{{ invoice_number }} from {{ clinic_name | default('DentalPin') }}:

Invoice number
#{{ invoice_number }}
Date
{{ invoice_date or '—' }}
{% if due_date %}
Due date
{{ due_date }}
{% endif %}
{% if items %}
{% for item in items %}
{{ item.description }}{% if item.quantity > 1 %} × {{ item.quantity }}{% endif %}
{{ item.line_total }}
{% endfor %}
{% endif %}
{% if total_discount %}
Subtotal
{{ subtotal }}
Discount
-{{ total_discount }}
{% endif %} {% if total_tax %}
Tax
{{ total_tax }}
{% endif %}
Total
{{ total }}
{% if balance_due and balance_due != total %}
Balance due
{{ balance_due }}
{% endif %}
{% if custom_message %}
{{ custom_message }}
{% endif %}

Please contact us if you have any questions about this invoice.

{% endblock %}