|
|
|
|
@ -193,12 +193,14 @@ export class WorkListMainItgComponent implements OnInit {
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
skip() {
|
|
|
|
|
skip(flag?) {
|
|
|
|
|
// check if the user clicked on all type of request
|
|
|
|
|
this.common.setTotalNumberOfWorklistRequest();
|
|
|
|
|
// this.common.assignDataToFilters(this.common.sharedService.getSharedData('worklistNotifications', false), 'ITG');
|
|
|
|
|
if (this.common.filterKeys['ITG'] != 0)
|
|
|
|
|
this.common.filterKeys['ITG'] = (this.common.filterKeys['ITG'] - 1)
|
|
|
|
|
if (flag != 'skip') {
|
|
|
|
|
this.common.setTotalNumberOfWorklistRequest();
|
|
|
|
|
// this.common.assignDataToFilters(this.common.sharedService.getSharedData('worklistNotifications', false), 'ITG');
|
|
|
|
|
if (this.common.filterKeys['ITG'] != 0)
|
|
|
|
|
this.common.filterKeys['ITG'] = (this.common.filterKeys['ITG'] - 1)
|
|
|
|
|
}
|
|
|
|
|
if (this.is_all_items_sents) {
|
|
|
|
|
for (let i = 1; i < this.all_request_names.length; i++) {
|
|
|
|
|
for (let j = 0; j < this.all_request_names[i].data.length; j++) {
|
|
|
|
|
|