mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-18 04:55:44 +00:00
Optionally show/hide the "accept_overallocated" dialog option (#3290)
This commit is contained in:
@ -211,6 +211,10 @@ function completeBuildOrder(build_id, options={}) {
|
||||
delete fields.accept_incomplete;
|
||||
}
|
||||
|
||||
if (!options.overallocated) {
|
||||
delete fields.accept_overallocated;
|
||||
}
|
||||
|
||||
constructForm(url, {
|
||||
fields: fields,
|
||||
reload: true,
|
||||
|
Reference in New Issue
Block a user