feat(est): complete four business workflows
This commit is contained in:
@@ -17,6 +17,8 @@ const scripts = [
|
||||
"native-quantity.cjs",
|
||||
"native-wonga.js",
|
||||
"native-engine.js",
|
||||
"native-escalation.js",
|
||||
"native-progress.js",
|
||||
"native-business.js",
|
||||
"native-resources.js",
|
||||
"native-model.js",
|
||||
@@ -29,7 +31,7 @@ function calculate(project) {
|
||||
engine.input = project;
|
||||
try {
|
||||
return vm.runInContext(
|
||||
"input.options?.AutoCalc === false ? EstModel.validate(input) : EstNative.calculate(EstModel.validate(input))",
|
||||
"EstProgress.rebuild(input.options?.AutoCalc === false ? EstModel.validate(input) : EstNative.calculate(EstModel.validate(input)))",
|
||||
engine,
|
||||
{
|
||||
timeout: 20000,
|
||||
@@ -45,6 +47,7 @@ const allowed = new Set([
|
||||
"native-app.js",
|
||||
"native-views.js",
|
||||
"native-actions.js",
|
||||
"native-business-actions.js",
|
||||
"native-extra.js",
|
||||
"native-settings.js",
|
||||
"native-report.js",
|
||||
|
||||
Reference in New Issue
Block a user