From b7e5f6a109f8327d47561080ce1f630a2c0e5322 Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 11 Mar 2022 00:47:24 +0100 Subject: [PATCH] name more abstract --- InvenTree/templates/js/translated/order.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/InvenTree/templates/js/translated/order.js b/InvenTree/templates/js/translated/order.js index a42cba368c..af54da9749 100644 --- a/InvenTree/templates/js/translated/order.js +++ b/InvenTree/templates/js/translated/order.js @@ -307,8 +307,8 @@ function soLineItemFields(options={}) { } -/* Construct a set of fields for the SalesOrderAdditionalLineItem form */ -function soAdditionalLineItemFields(options={}) { +/* Construct a set of fields for a OrderAdditionalLineItem form */ +function AdditionalLineItemFields(options={}) { var fields = { order: { @@ -2989,7 +2989,7 @@ function loadSalesOrderAdditionalLineItemTable(table, options={}) { inventreeGet(`/api/order/so-additional-line/${pk}/`, {}, { success: function(data) { - var fields = soAdditionalLineItemFields(); + var fields = AdditionalLineItemFields(); constructForm('{% url "api-so-additional-line-list" %}', { method: 'POST',