tango-app-api-trax 3.9.36 → 3.9.38
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 +2 -2
- package/src/controllers/internalTrax.controller.js +8 -8
- package/src/controllers/teaxFlag.controller.js +15 -953
- package/src/controllers/trax.controller.js +1 -1
- package/src/hbs/login-otp.hbs +943 -943
- package/src/routes/trax.routes.js +0 -3
- package/src/routes/traxFlag.router.js +0 -24
|
@@ -4044,7 +4044,7 @@ async function insertPCBulkV4( getCLconfig, checklistId, currentdate, updatedche
|
|
|
4044
4044
|
}, { userId: 1, store_id: 1 } );
|
|
4045
4045
|
|
|
4046
4046
|
if ( inprogressData.length ) {
|
|
4047
|
-
await processedchecklist.updateMany( { _id: { $in: inprogressData.map( ( ele ) => new ObjectId( ele._id ) ) } }, { scheduleEndTime: getCLconfig.scheduleEndTime, scheduleEndTime_iso: endTimeIso.format() } );
|
|
4047
|
+
await processedchecklist.updateMany( { _id: { $in: inprogressData.map( ( ele ) => new ObjectId( ele._id ) ) } }, { scheduleEndTime: getCLconfig.scheduleEndTime, scheduleEndTime_iso: endTimeIso.format(), complianceCount: getCLconfig.complianceCount, allowedOverTime: getCLconfig.allowedOverTime, allowedStoreLocation: getCLconfig.allowedStoreLocation, userVerification: getCLconfig.userVerification } );
|
|
4048
4048
|
inprogressData.forEach( ( item ) => {
|
|
4049
4049
|
let checkData = assignUserList.find( ( ele ) => ele.userId.toString() == item.userId.toString() && ele.store_id == item.store_id );
|
|
4050
4050
|
if ( !checkData ) {
|