{% load i18n %} {% load humanize %} {% trans "Marketplace Order Details" %}

{{ deployment_name }}

{% if deployment_address %}
{{ deployment_address }}
{% endif %} {% if deployment_phone %}
{{ deployment_phone }}
{% endif %} {% if deployment_email %}
{{ deployment_email }}
{% endif %}
{% trans "Requested by" %}: {{ order.created_by.full_name }} ({{ order.created_by.email }})
{% trans "Requester registered via" %}: {{ order.created_by.registration_method }} {% trans "registration method" %}
{% if order.approved_by %}
{% trans "Approved by" %}: {{ order.approved_by.full_name }} ({{ order.approved_by.email }})
{% trans "Approver registered via" %}: {{ order.approved_by.registration_method }} {% trans "registration method" %}
{% endif %} {% if order.approved_at %}
{% trans "Approved at" %}: {{ order.approved_at|date:"SHORT_DATE_FORMAT" }}
{% endif %}

{% trans "Marketplace order" %}

UUID: {{ order.uuid|upper }}
{% trans "Status" %}: {{ order.get_state_display }}
{% trans "Created at" %}: {{ order.created|date:"SHORT_DATE_FORMAT" }} {{ order.created|time:"H:i" }}
{% for item in order.items.all %} {% endfor %}
# {% trans "DESCRIPTION" %} {% trans "PLAN" %} {% trans "PRICE" %}
{{ forloop.counter }}

{% if item.attributes.name %} {{ item.attributes.name }} {% elif item.offering.name %} {{ item.offering.name }} {% endif %}

{% if item.attributes.description %} {{ item.attributes.description }} {% elif item.offering.description %} {{ item.offering.description }} {% endif %}
{{ item.plan.name }} {{ currency }} {{ item.cost | floatformat:2 | intcomma }}
{% trans "TOTAL" %} {{ currency }} {{ order.total_cost | floatformat:2 | intcomma}}