{% extends "base.html" %} {% block content %}
Brand: {{ invoice.brand.name }}
{% if invoice.campaign %}Campaign: {{ invoice.campaign.title }}
{% endif %}Issue Date: {{ invoice.issue_date }}
Due Date: {{ invoice.due_date or '-' }}
Status: {{ invoice.status }}
Download PDF| Subtotal | ₹ {{ "%.2f"|format(invoice.subtotal or 0) }} |
|---|---|
| Tax ({{ "%.2f"|format(invoice.tax_percent or 0) }}%) | ₹ {{ "%.2f"|format(invoice.tax_amount or 0) }} |
| Total Amount | ₹ {{ "%.2f"|format(invoice.total_amount or 0) }} |
| Amount Paid | ₹ {{ "%.2f"|format(invoice.amount_paid or 0) }} |
| Balance | ₹ {{ "%.2f"|format(invoice.balance_amount or 0) }} |
| Payment Status | {{ invoice.payment_status }} |
| # | Description | Qty | Unit Price | Total |
|---|---|---|---|---|
| {{ loop.index }} | {{ line.description }} | {{ line.quantity }} | ₹ {{ "%.2f"|format(line.unit_price or 0) }} | ₹ {{ "%.2f"|format(line.total or 0) }} |
{{ invoice.notes }}
| Date | Amount | Mode | Reference | Notes |
|---|---|---|---|---|
| {{ p.payment_date }} | ₹ {{ "%.2f"|format(p.amount) }} | {{ p.mode or '-' }} | {{ p.reference or '-' }} | {{ p.notes or '-' }} |
No payments recorded yet.
{% endif %} {# Record payment – internal users only, brand cannot add payments #} {% if not current_user.brand_id %}