mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
name more abstract
This commit is contained in:
parent
17d421fb7e
commit
b7e5f6a109
@ -307,8 +307,8 @@ function soLineItemFields(options={}) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Construct a set of fields for the SalesOrderAdditionalLineItem form */
|
/* Construct a set of fields for a OrderAdditionalLineItem form */
|
||||||
function soAdditionalLineItemFields(options={}) {
|
function AdditionalLineItemFields(options={}) {
|
||||||
|
|
||||||
var fields = {
|
var fields = {
|
||||||
order: {
|
order: {
|
||||||
@ -2989,7 +2989,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 = soAdditionalLineItemFields();
|
var fields = AdditionalLineItemFields();
|
||||||
|
|
||||||
constructForm('{% url "api-so-additional-line-list" %}', {
|
constructForm('{% url "api-so-additional-line-list" %}', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
|
Loading…
Reference in New Issue
Block a user