name more abstract

This commit is contained in:
Matthias 2022-03-11 00:47:24 +01:00
parent 17d421fb7e
commit b7e5f6a109
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -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',