c2-clinical 1.0.165 → 1.0.167

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -21,6 +21,7 @@ class GetEnablesFormUnitsFlowItem {
21
21
  //TENTAR EXECUTAR A FORMULA
22
22
  let enable = false;
23
23
  enable = ExecFormulaFlowItem_1.default.exec(false, formulaToEnable);
24
+ unit.enable = enable;
24
25
  return enable;
25
26
  });
26
27
  }
@@ -31,6 +31,10 @@ class ProcessAnswerFlowTester {
31
31
  relationed.description = ExecFormulaFlowTester_1.default.execute(relationed.formulaToDescription, allQuestionsAnswereds, attendanceMetActivities);
32
32
  }
33
33
  // formulaToEnable
34
+ if (relationed.formulaToEnable) {
35
+ relationed.enable = ExecFormulaFlowTester_1.default.execute(relationed.formulaToEnable, allQuestionsAnswereds, attendanceMetActivities);
36
+ }
37
+ // formulaToShow
34
38
  if (relationed.formulaToShow) {
35
39
  relationed.show = ExecFormulaFlowTester_1.default.execute(relationed.formulaToShow, allQuestionsAnswereds, attendanceMetActivities);
36
40
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "c2-clinical",
3
- "version": "1.0.165",
3
+ "version": "1.0.167",
4
4
  "description": "Biblioteca Typescript para API NodeJS",
5
5
  "repository": "https://github.com/cabralsilva/c2-clinical.git",
6
6
  "author": "Daniel Cabral <cabralconsultoriaemsoftware@gmail.com>",