{% extends "customer_main.html" %} {%load static%} {% block content %}

My Invoices

{% for invoice in invoices %} {% endfor %}
ID Due Date Items Status Amount Actions

{{invoice.invoice_number}}

{% if invoice.order.orderpayment_set.all.last.date_due %} {{invoice.order.orderpayment_set.all.last.date_due}} {% else %} - {% endif %}

    {% for item in invoice.order.orderitem_set.all %}
  • {{item.item.title}}
  • {% endfor %}

{{invoice.status}}

${{invoice.order.get_cart_total}}

{% if invoice.status == 'Not Completed' %} {% else %} {% endif %}
{% endblock %}