{% extends "templates/web.html" %} {% from "erpnext/templates/includes/order/order_macros.html" import item_name_and_description %} {% block breadcrumbs %} {% include "templates/includes/breadcrumbs.html" %} {% endblock %} {% block title %}{{ doc.name }}{% endblock %} {% block header %}

{{ doc.name }}

{% endblock %} {% block header_actions %} {{ _("Print") }} {% endblock %} {% block page_content %}
{{ _(doc.get('indicator_title')) or _(doc.status) or _("Submitted") }}
{{ frappe.utils.format_date(doc.transaction_date, 'medium') }}
{% if doc._header %} {{ doc._header }} {% endif %}
{{ _("Item") }}
{{ _("Work Order") }}
{{ _("Quantity") }}
{% for d in doc.items %} {% if d.customer_provided %}
{{ item_name_and_description(d) }}
{% for wo in d.work_orders %}

{{_(wo.name) }}

{% endfor %}
{{ d.qty }} {% if d.delivered_qty is defined and d.delivered_qty != None %}

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

{% endif %}
{% endif %} {% endfor %}
{% endblock %}