{% 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 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 %}