From 9719a145873e3107889aaf0dd9e67e33968486ed Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sun, 18 Jul 2021 10:33:27 +1000 Subject: [PATCH] Add supplier_reference field to form --- InvenTree/order/templates/order/order_base.html | 1 + InvenTree/templates/js/order.js | 1 + 2 files changed, 2 insertions(+) diff --git a/InvenTree/order/templates/order/order_base.html b/InvenTree/order/templates/order/order_base.html index f1146d8b01..11396e07a7 100644 --- a/InvenTree/order/templates/order/order_base.html +++ b/InvenTree/order/templates/order/order_base.html @@ -170,6 +170,7 @@ $("#edit-order").click(function() { supplier: { }, {% endif %} + supplier_reference: {}, description: {}, target_date: { icon: 'fa-calendar-alt', diff --git a/InvenTree/templates/js/order.js b/InvenTree/templates/js/order.js index 5cb286e970..69676df01e 100644 --- a/InvenTree/templates/js/order.js +++ b/InvenTree/templates/js/order.js @@ -44,6 +44,7 @@ function createPurchaseOrder(options={}) { supplier: { value: options.supplier, }, + supplier_reference: {}, description: {}, target_date: { icon: 'fa-calendar-alt',