tango-app-api-trax 3.6.0-sec-9 → 3.6.0-sec-10

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-app-api-trax",
3
- "version": "3.6.0-sec-9",
3
+ "version": "3.6.0-sec-10",
4
4
  "description": "Trax",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -309,7 +309,9 @@ export async function PCLconfigCreation( req, res ) {
309
309
  let collectQuestions = {};
310
310
  collectQuestions.section_id = element3._id;
311
311
  collectQuestions.sectionName = element3.section;
312
+ collectQuestions.sectionOldName = element3.sectionOldName || '';
312
313
  collectQuestions.questions = element3.question;
314
+ collectQuestions.sectionNumber = element3.sectionNumber|| '';
313
315
  collectSections.push( collectQuestions );
314
316
  }
315
317
  }
@@ -2983,6 +2983,7 @@ export async function insertSingleProcessData( checklistId, processId = 0, oldDa
2983
2983
  collectQuestions.sectionName = element3.section;
2984
2984
  collectQuestions.sectionOldName = element3.sectionOldName;
2985
2985
  collectQuestions.questions = element3.question;
2986
+ collectQuestions.sectionNumber = element3.sectionNumber || 0;
2986
2987
  collectSections.push( collectQuestions );
2987
2988
  }
2988
2989
  }