From 239138a1b5db9462948518f0345c82991c838209 Mon Sep 17 00:00:00 2001 From: Maksim Stojkovic <18454392+maksimstojkovic@users.noreply.github.com> Date: Thu, 19 May 2022 18:58:33 +1000 Subject: [PATCH] Added page actions menu item --- .../order/templates/order/sales_order_base.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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(