{% load i18n admin_urls simpelcore_tags %} {% with object.product.specific as product %} {% if product.is_deliverable or object.bundles.count %}
{{ product.inner_id }} {{ product.name|truncatechars:60 }}
{% firstof object.name product.name %}
{{ object.quantity }} x {{ object.subtotal|currency }}
{{ object.total|currency }}
{% if product.is_deliverable %}
{% trans "Deliverable Informations" %}
{% if object.deliverable_information %}
{{ object.deliverable_information.name|title }}{% if object.deliverable_information.phone %}, {{ object.billing_address.phone }}{% endif %}
{{ object.deliverable_information.text_line_1 }}
{{ object.deliverable_information.text_line_2 }}
{% else %}
{% trans "Deliverable information not set, using customer profile." %}
{% endif %}
{% endif %} {% if object.bundles.count %}
{% for orderitem_bundle in object.bundles.all %} {% endfor %}
{% trans "#" %} {% trans "Item" %} {% trans "Price" %} {% trans "Quantity" %} {% trans "Total" %}
{{ orderitem_bundle.product.inner_id }} {{ orderitem_bundle.product.name }} {{ orderitem_bundle.product.total_price|currency }} {{ orderitem_bundle.quantity }} {{ orderitem_bundle.product.unit }} {{ orderitem_bundle.total|currency }}
{% endif %}
{% endif %} {% endwith %}