{% load i18n %} {% load url from future %}
{% csrf_token %} {# If the order has been created already, we don't want to show this button. #} {% if not order.fulfillment_orders.count %} {% endif %} {% trans "Update fulfillment orders" %}

{% trans "MWS Fulfillment Orders" %}

{% for fulfillment_order in order.fulfillment_orders.all %} {% endfor %}
{% trans "Fulfillment Order ID" %} {% trans "Order Items ID" %} {% trans "Product" %} {% trans "Status" %} {% trans "Last updated" %}
{{ fulfillment_order.fulfillment_id }} {% for fulfillment_line in fulfillment_order.fulfillment_lines.all %} {{ fulfillment_line.order_item_id }}
{% endfor %}
{% for fulfillment_line in fulfillment_order.fulfillment_lines.all %} {{ fulfillment_line.line.product }}
{% endfor %}
{{ fulfillment_order.status|default:"-" }} {{ fulfillment_order.date_updated|date:"jS M Y H:i" }}