style fixes

This commit is contained in:
Matthias 2022-03-11 01:44:13 +01:00
parent 934754ddff
commit 771fc6ada8
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -309,7 +309,7 @@ function soLineItemFields(options={}) {
/* Construct a set of fields for a OrderAdditionalLineItem form */ /* Construct a set of fields for a OrderAdditionalLineItem form */
function AdditionalLineItemFields(options={}) { function additionalLineItemFields(options={}) {
var fields = { var fields = {
order: { order: {
@ -1560,7 +1560,7 @@ function loadPurchaseOrderLineItemTable(table, options={}) {
inventreeGet(`/api/order/po-additional-line/${pk}/`, {}, { inventreeGet(`/api/order/po-additional-line/${pk}/`, {}, {
success: function(data) { success: function(data) {
var fields = AdditionalLineItemFields(); var fields = additionalLineItemFields();
constructForm('{% url "api-po-additional-line-list" %}', { constructForm('{% url "api-po-additional-line-list" %}', {
method: 'POST', method: 'POST',
@ -3207,7 +3207,7 @@ function loadSalesOrderAdditionalLineItemTable(table, options={}) {
inventreeGet(`/api/order/so-additional-line/${pk}/`, {}, { inventreeGet(`/api/order/so-additional-line/${pk}/`, {}, {
success: function(data) { success: function(data) {
var fields = AdditionalLineItemFields(); var fields = additionalLineItemFields();
constructForm('{% url "api-so-additional-line-list" %}', { constructForm('{% url "api-so-additional-line-list" %}', {
method: 'POST', method: 'POST',