{# templates/dashboard/admin.html #} {% extends "base.html" %} {% block content %}
{% if active_tab == "current" %}No pending invoices.
{% else %}| Invoice | Brand | Balance | Status | Open |
|---|---|---|---|---|
| {{ inv.invoice_number }} | {{ inv.brand.name if inv.brand else '-' }} | ₹ {{ "{:,.2f}".format((inv.balance_amount or 0)|float) }} | {% if inv.payment_status == 'UNPAID' %} UNPAID {% elif inv.payment_status == 'PARTIAL' %} PARTIAL {% else %} {{ inv.payment_status }} {% endif %} | View |