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

Order {{order.order_id}}

{% if order.orderstatus.set_all.last.status %}

{{order.status}} {{order.orderstatus.set_all.last.status}} - {{order.orderstatus.set_all.last.date}}

{% endif %}

Remaining Balance: ${{order.remaining_balance}}

{% if order.invoice %}
{% if order.invoice %} {% endif %} {% if order.invoice %} {% endif %}
{% endif %} {% if order_items %}

Order Items

{% for item in order_items %}

{{item.item.title}}

${{item.item.amount}}

{% endfor %}
{% endif %} {% if payments %}
{% for payment in payments %} {% endfor %}
Amount Date Due Date Paid Comment Payment

${{payment.amount}}

{% if payment.date_due %}

{{payment.date_due}}

{% else %}

-

{% endif %}
{% if payment.date_paid %}

{{payment.date_paid}}

{% else %}

UNPAID

{% endif %}

Comment

{% for type in payment.type.all %}

{{type.name}}

{% endfor %}
{% endif %}
{% endblock %}