{% trans "Requested by" %}:
{{ order.created_by.full_name }}
({{ order.created_by.email }})
{% trans "Requested at" %}:
{{ order.created|date:"SHORT_DATE_FORMAT" }}
{{ order.created|time:"H:i" }}
{% if order.approved_by %}
{% trans "Approved by" %}:
{{ order.approved_by.full_name }}
({{ order.approved_by.email }})
{% endif %}
{% if order.approved_at %}
{% trans "Approved at" %}:
{{ order.approved_at|date:"SHORT_DATE_FORMAT" }}
{{ order.approved_at|time:"H:i" }}
{% endif %}
{% trans "Marketplace order" %}
UUID: {{ order.uuid|upper }}
# | {% 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}} |
{% trans "Details of order items" %}
{% for item in order.items.all %}{% trans "Offering request details" %}
# | {% trans "NAME" %} | {% trans "VALUE" %} |
---|---|---|
{{ forloop.counter }} | {{ key }} | {{ value | pretty_json }} |
{% trans "Billing plan components" %}
# | {% trans "NAME" %} | {% trans "TYPE" %} | {% trans "AMOUNT" %} | {% trans "PRICE PER UNIT" %} |
---|---|---|---|---|
{{ forloop.counter }} | {{ component.component.name }} | {{ component.component.get_billing_type_display }} | {% get_invoice_item_component_amount item component %} {{ component.component.measured_unit }} | {{ currency }} {{ component.price | floatformat:4 | intcomma }} |
{% trans "TOTAL" %} | {{ currency }} {{ item.cost | floatformat:2 | intcomma}} |