tango-app-api-trax 3.2.1-beta-3 → 3.2.1-beta-4
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 +1 -1
- package/src/controllers/trax.controller.js +2 -0
- package/src/hbs/login-otp.hbs +943 -943
package/package.json
CHANGED
|
@@ -2243,9 +2243,11 @@ async function insertPCBulkV3( getCLconfig, checklistId, currentdate, updatedche
|
|
|
2243
2243
|
client_id: insertdata.client_id,
|
|
2244
2244
|
checkListId: updatedchecklist._id,
|
|
2245
2245
|
checklistStatus: { $nin: [ 'submit', 'inprogress' ] },
|
|
2246
|
+
redoStatus: false,
|
|
2246
2247
|
};
|
|
2247
2248
|
await processedchecklist.deleteMany( deleteInprogressQuery );
|
|
2248
2249
|
deleteInprogressQuery.checklistStatus = 'inprogress';
|
|
2250
|
+
deleteInprogressQuery.redoStatus = false;
|
|
2249
2251
|
let getInprogressData = await processedchecklist.find( deleteInprogressQuery, { userId: 1, store_id: 1 } );
|
|
2250
2252
|
if ( getInprogressData ) {
|
|
2251
2253
|
allQuestion = allQuestion.filter( ( item ) => {
|