{% extends 'admin/print.html' %} {% load i18n static admin_urls simpelcore_tags simpelauth_tags %} {% block content_wrapper %}
{% trans "#" %} | {% trans "Item" %} | {% trans "Price" %} | {% trans "Quantity" %} | {% trans "Total" %} |
---|---|---|---|---|
Terbilang:
{{ object.grand_total|number_to_text|title }}{% if object.grand_total > 0 %} Rupiah{% endif %} |
{% trans "Total" %} | {{ object.total|currency }} | ||
{% trans "Discount" %} | {{ object.discount|currency }} | |||
{% trans "Grand Total" %} | {{ object.grand_total|currency }} |
{{ object.inner_id }} - {{ object.created_at }}
{% for item in object.items.all %} {% with object.product.specific as product %} {% if product.is_deliverable or object.bundles.count %}{% 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 }} |