{% load django_ledger %} {% load i18n %}
{% for invoice in invoices %} {% endfor %}
Invoice Number Invoice Date Invoiced To Amount Payments Is Paid? Past Due? Actions
{{ invoice.invoice_number }} {{ invoice.date }} {{ invoice.customer.customer_name }} ${{ invoice.amount_due | currency_format }} ${{ invoice.amount_paid | currency_format }} {% if invoice.paid %} {% icon 'bi:check-circle-fill' 24 %} {% else %} {% icon 'clarity:no-access-solid' 24 %} {% endif %} {% if invoice.is_past_due %} {% icon 'bi:check-circle-fill' 24 %} {% else %} {% icon 'clarity:no-access-solid' 24 %} {% endif %}