This commit is contained in:
Peter Maquiran
2022-12-20 17:14:23 +01:00
parent be617c0fe3
commit 5652043b8a
22 changed files with 285 additions and 234 deletions
@@ -179,7 +179,6 @@ export class DespachosPrPage implements OnInit {
})
this.sqliteservice.getprocessByworkflow('Despacho do Presidente da República').then(async (process: any[]) => {
let despachosPr;
if(this.loggeduser.Profile != 'PR') {
@@ -187,7 +186,7 @@ export class DespachosPrPage implements OnInit {
} else if (this.loggeduser.Profile == 'PR') {
despachosPr = await process.reverse().filter(data => data.activityInstanceName == "Concluir Despacho");
}
despachosPr = despachosPr.filter(data => JSON.parse(data.workflowInstanceDataFields).Status == "Active");
despachosPr.forEach((element, index) => {