tango-app-api-infra 3.9.27 → 3.9.29
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
|
@@ -4405,7 +4405,7 @@ export async function ticketList( req, res ) {
|
|
|
4405
4405
|
}
|
|
4406
4406
|
return {};
|
|
4407
4407
|
} )(),
|
|
4408
|
-
|
|
4408
|
+
revisedFootfall: item?.revicedFootfall,
|
|
4409
4409
|
type: item.type || 'store',
|
|
4410
4410
|
storeRevisedAccuracy: item?.mappingInfo?.find( ( f ) => f.type === 'tagging' )?.revicedPerc || '--',
|
|
4411
4411
|
reviewerRevisedAccuracy: item?.mappingInfo?.find( ( f ) => f.type === 'review' )?.revicedPerc || '--',
|
|
@@ -4530,7 +4530,7 @@ export async function ticketList( req, res ) {
|
|
|
4530
4530
|
revisedFF: item?.mappingInfo?.find( ( f ) => f.type === 'review' )?.revicedFootfall || '--',
|
|
4531
4531
|
storeRevisedAccuracy: item?.mappingInfo?.find( ( f ) => f.type === 'tagging' )?.revicedPerc || '--',
|
|
4532
4532
|
reviewerRevisedAccuracy: item?.mappingInfo?.find( ( f ) => f.type === 'review' )?.revicedPerc || '--',
|
|
4533
|
-
...( isApprover !== true? item?.mappingInfo?.find( ( f ) => f.type === 'tangoreview' )?.revicedPerc
|
|
4533
|
+
...( isApprover !== true ? { tangoRevisedAccuracy: item?.mappingInfo?.find( ( f ) => f.type === 'tangoreview' )?.revicedPerc || '--' } : {} ),
|
|
4534
4534
|
status: item?.mappingInfo?.find( ( f ) => f.type === 'review' )?.status || '--',
|
|
4535
4535
|
closedDate: item?.mappingInfo?.find( ( f ) => f.type === 'review' ).status === 'Closed' ? item?.mappingInfo?.find( ( f ) => f.type === 'review' )?.updatedAt : '--',
|
|
4536
4536
|
ReviewedBy: item?.mappingInfo?.find( ( f ) => f.type === 'review' )?.createdByEmail || '--',
|
|
@@ -4652,7 +4652,7 @@ export async function ticketList( req, res ) {
|
|
|
4652
4652
|
type: item.type || 'store',
|
|
4653
4653
|
storeRevisedAccuracy: item?.mappingInfo?.find( ( f ) => f.type === 'tagging' )?.revicedPerc || '--',
|
|
4654
4654
|
reviewerRevisedAccuracy: item?.mappingInfo?.find( ( f ) => f.type === 'review' )?.revicedPerc || '--',
|
|
4655
|
-
...( isApprover !== true? tangoRevisedAccuracy: item?.mappingInfo?.find( ( f ) => f.type === 'tangoreview' )?.revicedPerc || '' ),
|
|
4655
|
+
...( isApprover !== true ? { tangoRevisedAccuracy: item?.mappingInfo?.find( ( f ) => f.type === 'tangoreview' )?.revicedPerc || '--' } : {} ),
|
|
4656
4656
|
status: item?.mappingInfo?.find( ( f ) => f.type === 'review' )?.status || '--',
|
|
4657
4657
|
closedDate: item?.mappingInfo?.find( ( f ) => f.type === 'review' ).status === 'Closed' ? item?.mappingInfo?.find( ( f ) => f.type === 'review' )?.updatedAt : '--',
|
|
4658
4658
|
ReviewedBy: item?.mappingInfo?.find( ( f ) => f.type === 'review' )?.createdByEmail || '--',
|
|
@@ -4767,7 +4767,7 @@ export async function ticketList( req, res ) {
|
|
|
4767
4767
|
}
|
|
4768
4768
|
return {};
|
|
4769
4769
|
} )(),
|
|
4770
|
-
|
|
4770
|
+
revisedFootfall: item?.revicedFootfall,
|
|
4771
4771
|
type: item.type || 'store',
|
|
4772
4772
|
storeRevisedAccuracy: item?.mappingInfo?.find( ( f ) => f.type === 'tagging' )?.revicedPerc || '--',
|
|
4773
4773
|
reviewerRevisedAccuracy: item?.mappingInfo?.find( ( f ) => f.type === 'review' )?.revicedPerc || '--',
|
|
@@ -2112,7 +2112,6 @@ export async function ticketApprove( req, res, next ) {
|
|
|
2112
2112
|
const tangoApproved = getConfig?.footfallDirectoryConfigs?.tangoApproved || false;
|
|
2113
2113
|
const tangoDueDate = getConfig?.footfallDirectoryConfigs?.allowTangoReview || 0;
|
|
2114
2114
|
|
|
2115
|
-
logger.info( { tangoReview, revised, autoCloseAccuracyValue, status: record.status } );
|
|
2116
2115
|
if (
|
|
2117
2116
|
isAutoCloseEnable === true &&
|
|
2118
2117
|
revisedPercentage >= autoCloseAccuracyValue
|