2
0
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:
Oliver
2022-07-04 12:51:51 +10:00
committed by GitHub
parent fd03b4068d
commit 5045f85346
3 changed files with 6 additions and 1 deletions

View File

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