|
|
|
@ -461,7 +461,7 @@ export class WorklistMainIcComponent implements OnInit {
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
public nextNotfification() {
|
|
|
|
public nextNotfification(flag?) {
|
|
|
|
if (document.getElementById('notificationDynamicFieldsPO') != null) {
|
|
|
|
if (document.getElementById('notificationDynamicFieldsPO') != null) {
|
|
|
|
document.getElementById('notificationDynamicFieldsPO').innerHTML = '';
|
|
|
|
document.getElementById('notificationDynamicFieldsPO').innerHTML = '';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@ -470,7 +470,7 @@ export class WorklistMainIcComponent implements OnInit {
|
|
|
|
let index = this.notificationArray.findIndex(x => x.ROW_NUM === itemNo);
|
|
|
|
let index = this.notificationArray.findIndex(x => x.ROW_NUM === itemNo);
|
|
|
|
let previousRequest = this.notificationArray[index].REQUEST_TYPE;
|
|
|
|
let previousRequest = this.notificationArray[index].REQUEST_TYPE;
|
|
|
|
let previousRequestType = this.notificationArray[index].ITEM_TYPE;
|
|
|
|
let previousRequestType = this.notificationArray[index].ITEM_TYPE;
|
|
|
|
if (this.common.filterKeys[previousRequestType] != 0)
|
|
|
|
if (this.common.filterKeys[previousRequestType] != 0 && flag != 'skip')
|
|
|
|
this.common.filterKeys[previousRequestType] = (this.common.filterKeys[previousRequestType] - 1)
|
|
|
|
this.common.filterKeys[previousRequestType] = (this.common.filterKeys[previousRequestType] - 1)
|
|
|
|
|
|
|
|
|
|
|
|
index += 1;
|
|
|
|
index += 1;
|
|
|
|
|