tango-app-api-infra 3.0.81-dev → 3.0.82-dev
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
|
@@ -534,14 +534,15 @@ export async function workHistory( req, res ) {
|
|
|
534
534
|
'CLOSED ON': element.issueClosedDate,
|
|
535
535
|
'STATUS': element.status,
|
|
536
536
|
};
|
|
537
|
+
if ( req.body.issueType==='infra'||req.body.issueType==='installation' ) {
|
|
538
|
+
data = { ...data, ...{ 'ISSUE': element.infraIssue?element.infraIssue:'-', 'ISSUE IDENTIFIED DATE': element.issueIdentifiedDate } };
|
|
539
|
+
}
|
|
540
|
+
if ( req.body.issueType==='dataMismatch' ) {
|
|
541
|
+
data = { ...data, ...{ 'issueType': element.issueType?element.issueType:'-' } };
|
|
542
|
+
}
|
|
537
543
|
exportdata.push( data );
|
|
538
544
|
} );
|
|
539
|
-
|
|
540
|
-
data = { ...data, ...{ 'ISSUE': element.infraIssue?element.infraIssue:'-', 'ISSUE IDENTIFIED DATE': element.issueIdentifiedDate } };
|
|
541
|
-
}
|
|
542
|
-
if ( req.body.issueType==='dataMismatch' ) {
|
|
543
|
-
data = { ...data, ...{ 'issueType': element.issueType?element.issueType:'-' } };
|
|
544
|
-
}
|
|
545
|
+
|
|
545
546
|
await download( exportdata, res );
|
|
546
547
|
return;
|
|
547
548
|
}
|