From 771fc6ada8b70c3fa2d7cd23b53302fdc3d5304c Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 11 Mar 2022 01:44:13 +0100 Subject: [PATCH] style fixes --- InvenTree/templates/js/translated/order.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/InvenTree/templates/js/translated/order.js b/InvenTree/templates/js/translated/order.js index 51bb21dee4..e9876185fa 100644 --- a/InvenTree/templates/js/translated/order.js +++ b/InvenTree/templates/js/translated/order.js @@ -309,7 +309,7 @@ function soLineItemFields(options={}) { /* Construct a set of fields for a OrderAdditionalLineItem form */ -function AdditionalLineItemFields(options={}) { +function additionalLineItemFields(options={}) { var fields = { order: { @@ -1406,7 +1406,7 @@ function loadPurchaseOrderLineItemTable(table, options={}) { * - order {integer} : pk of the PurchaseOrder * - status: {integer} : status code for the order */ - function loadPurchaseOrderAdditionalLineItemTable(table, options={}) { +function loadPurchaseOrderAdditionalLineItemTable(table, options={}) { options.table = table; @@ -1560,7 +1560,7 @@ function loadPurchaseOrderLineItemTable(table, options={}) { inventreeGet(`/api/order/po-additional-line/${pk}/`, {}, { success: function(data) { - var fields = AdditionalLineItemFields(); + var fields = additionalLineItemFields(); constructForm('{% url "api-po-additional-line-list" %}', { method: 'POST', @@ -3207,7 +3207,7 @@ function loadSalesOrderAdditionalLineItemTable(table, options={}) { inventreeGet(`/api/order/so-additional-line/${pk}/`, {}, { success: function(data) { - var fields = AdditionalLineItemFields(); + var fields = additionalLineItemFields(); constructForm('{% url "api-so-additional-line-list" %}', { method: 'POST',