diff --git a/InvenTree/customer_orders/templates/customer_orders/customer_orders_list.html b/InvenTree/customer_orders/templates/customer_orders/customer_orders_list.html new file mode 100644 index 0000000000..c33d615951 --- /dev/null +++ b/InvenTree/customer_orders/templates/customer_orders/customer_orders_list.html @@ -0,0 +1,14 @@ + + + + + + + {% for order in customer_orders %} + + + + + + {% endfor %} +
Internal RefCustomerCustomer Ref
{{ order.internal_ref }}{{ order.customer }}{{ order.customer_ref }}
\ No newline at end of file diff --git a/InvenTree/customer_orders/templates/customer_orders/index.html b/InvenTree/customer_orders/templates/customer_orders/index.html index 4c49b9d019..2987484fc7 100644 --- a/InvenTree/customer_orders/templates/customer_orders/index.html +++ b/InvenTree/customer_orders/templates/customer_orders/index.html @@ -5,21 +5,7 @@ {% if customer_orders.all|length > 0 %}

Customer Orders

- - - - - - - {% for order in customer_orders %} - - - - - - {% endfor %} -
Internal RefCustomerCustomer Ref
{{ order.internal_ref }}{{ order.customer }}{{ order.customer_ref }}
- + {% include "customer_orders/customer_orders_list.html" with customer_orders=customer_orders %} {% endif %} {% endblock %} \ No newline at end of file