diff --git a/InvenTree/order/templates/order/sales_order_base.html b/InvenTree/order/templates/order/sales_order_base.html index 5593918a38..25357c86c2 100644 --- a/InvenTree/order/templates/order/sales_order_base.html +++ b/InvenTree/order/templates/order/sales_order_base.html @@ -57,6 +57,9 @@ src="{% static 'img/blank_image.png' %}" @@ -223,6 +226,16 @@ $("#edit-order").click(function() { }); }); +$("#complete-order-shipments").click(function() { + + completeShipments( + {{ order.pk }}, + { + reload: true, + } + ); +}); + $("#cancel-order").click(function() { cancelSalesOrder(