{% block header %}

{{ doc.name }}

{% endblock %} {% block style %}{% include "templates/includes/order/order.css" %}{% endblock %} {% block content %} {% from "erpnext/templates/includes/order/order_macros.html" import item_name_and_description %}
{{ doc.indicator_title or doc.status or "Submitted" }}
{{ doc.get_formatted("transaction_date") }}
{% if doc._header %} {{ doc._header }} {% endif %}
{{ _("Item") }}
{{ _("Quantity") }}
{{ _("Amount") }}
{% for d in doc.items %}
{{ item_name_and_description(d) }}
{{ d.qty }} {% if d.delivered_qty != None %}

{{ _("Delivered: {0}").format(d.delivered_qty) }}

{% endif %}
{{ d.get_formatted("amount") }}

{{ _("Rate: {0}").format(d.get_formatted("rate")) }}

{% endfor %}
{% include "erpnext/templates/includes/order/order_taxes.html" %}
{% endblock %}