moved function to shared js.

This commit is contained in:
DESKTOP-GENO133\IvanPlex
2024-02-17 21:43:19 -07:00
parent 2183c77606
commit 849171c4df
2 changed files with 8 additions and 8 deletions

View File

@@ -414,4 +414,12 @@ function getAndValidateExtraFields() {
}
});
return { hasError: hasError, extraFields: outputData };
}
function toggleSupplyUsageHistory() {
var container = $("#supplyUsageHistoryModalContainer");
if (container.hasClass("d-none")) {
container.removeClass("d-none");
} else {
container.addClass("d-none");
}
}

View File

@@ -327,12 +327,4 @@ function moveRecord(recordId, source, dest) {
$("#workAroundInput").hide();
}
});
}
function toggleSupplyUsageHistory() {
var container = $("#supplyUsageHistoryModalContainer");
if (container.hasClass("d-none")) {
container.removeClass("d-none");
} else {
container.addClass("d-none");
}
}