{% extends "base.html" %} {% load i18n %} {% block title %}{% trans 'Order Details' %}{% endblock %} {% block head %} {% endblock %} {% block body %}

{% blocktrans with object.id as order_id %}Order #{{ order_id }}{% endblocktrans %}

{{ object.get_status_display }}
{# Order Summary Section #}

{% trans "Order Summary" %}

{% with object as order %} {% include "plans/order_detail_table.html" %} {% endwith %}
{# Printable Documents Section #} {% if object.get_all_invoices.count %}

{% trans "Printable documents" %}

{% endif %} {# Payment Section #}

{% trans "Payment" %}

{% if object.completed %}

{% blocktrans with object.completed as completed %} Payment completed on: {{ completed|date:"F j, Y" }} {% endblocktrans %}

{% else %} {% if object.is_ready_for_payment %}

You can use a fake payment below to simulate paying for this order.

Pay using FakePayments™ {% else %}

{% blocktrans %} This order is expired. New payments cannot be initialized. Please make a new order if necessary. {% endblocktrans %}

{% endif %} {% endif %} {% if object.status == object.STATUS.NOT_VALID %}

{% blocktrans %} This order could not be processed as it is not valid. Please contact customer service. {% endblocktrans %}

{% endif %}
{% endblock %}