{% extends "base.html" %} {% load crispy_forms_tags %} {% block title %}Invoices{% endblock title %} {% block subtitle %}All the invoices are listed here.{% endblock subtitle %} {% block content %} {% for invoice in invoices %} {% endfor %}
Invoice ID Partner Status Total {% if user.is_superuser %} Create Invoice {% endif %}
{{ invoice.invoice_id }} {{ invoice.partner.company }} {{ invoice.get_html_status }} ${{ invoice.get_total }} {% if user.is_superuser %} {% if invoice.status == 0 %} {% endif %} {% endif %}

{{ void_btn.text }} VOID
{% endblock content %}