2021-08-25 10:49:17 +01:00
< ion-content class = "options-container" >
2023-06-10 20:17:51 +01:00
< div class = "arrow-right" ( click ) = " goBack ( ' no ' ) " >
2021-05-27 14:33:17 +01:00
< button class = "btn-no-color" >
2021-10-25 15:31:43 +01:00
< ion-icon * ngIf = "ThemeService.currentTheme == 'default' " slot = "end" class = "arrow-right-icon" src = 'assets/images/icons-arrow-arrow-right.svg' > < / ion-icon >
< ion-icon * ngIf = "ThemeService.currentTheme == 'gov' " slot = "end" class = "arrow-right-icon" src = 'assets/images/theme/gov/icons-calendar-arrow-right.svg' > < / ion-icon >
2021-05-27 14:33:17 +01:00
< / button >
< / div >
2021-08-24 14:07:27 +01:00
< div class = "width-100 pr-options" * ngIf = "task.activityInstanceName == 'Tarefa de Despacho' && task.WorkflowName == 'Despacho do Presidente da República' " >
< div * ngIf = "task && !p.userRole(['PR'])" class = "d-flex width-100" >
< div class = "flex-grow-1 width-50 pr-10" >
2023-03-22 15:31:01 +01:00
< button class = "btn-cancel desk" shape = "round" > Responder ao {{ environment.PR}} < / button >
2021-08-24 14:07:27 +01:00
< button ( click ) = " openAddNoteModal ( ' Executado ' ) " class = "btn-cancel width-100" shape = "round" > Executado< / button >
2023-01-30 23:21:47 +01:00
< button class = "btn-cancel desk" shape = "round" > Reencaminhar para Área Jurídica < / button >
2021-08-24 14:07:27 +01:00
< button ( click ) = " openAddNoteModal ( ' Gerar Diploma ' ) " class = "btn-cancel width-100" shape = "round" > Gerar Diploma< / button >
< button class = "btn-cancel desk" shape = "round" > Outras opções < / button >
2021-08-24 14:20:10 +01:00
< button ( click ) = " openTaskProcessModal ( ' 0 ' , fulltask ) " class = "btn-cancel width-100" shape = "round" > Efetuar Despacho< / button >
2021-08-24 14:07:27 +01:00
< / div >
< div class = "flex-grow-1 width-50 pl-10" >
2021-08-24 14:20:10 +01:00
< button ( click ) = " openTaskProcessModal ( ' 1 ' , fulltask ) " class = "btn-cancel width-100" shape = "round" > Solicitar Parecer< / button >
2023-02-01 09:17:48 +01:00
< button * ngIf = "!p.userRole(['PR']) && !p.userPermission([p.permissionList.Gabinete.pr_tasks])" ( click ) = " openTaskProcessModal ( ' 2 ' , fulltask ) " class = "btn-cancel width-100" shape = "round" > Pedido de Deferimento< / button >
2021-08-24 14:07:27 +01:00
< button ( click ) = " openDelegarModal ( task ) " class = "btn-cancel width-100" shape = "round" > Delegar< / button >
2023-01-30 23:21:47 +01:00
< button ( click ) = " sendExpedienteToPending ( ) " * ngIf = "task.Status != 'Pending'" full class = "btn-cancel width-100" shape = "round" > Enviar para Pendentes< / button >
2021-08-24 14:07:27 +01:00
< / div >
< / div >
< div * ngIf = "task && p.userRole(['PR'])" class = "d-flex width-100" >
< div class = "flex-grow-1" >
< button ( click ) = " openAddNoteModal ( ' Concluido ' ) " class = "btn-cancel" shape = "round" > Marcar como Concluído< / button >
< button ( click ) = " openAddNoteModal ( ' Reexecução ' ) " class = "btn-cancel" shape = "round" > Enviar para Reexecução< / button >
2022-04-01 11:29:32 +01:00
< button * ngIf = "p.userPermission([p.permissionList.Agenda.access])" ( click ) = " openBookMeetingModal ( task ) " class = "btn-cancel" shape = "round" > Marcar Reunião< / button >
2021-08-24 14:07:27 +01:00
< button ( click ) = " sendExpedienteToPending ( ) " * ngIf = "task.Status != 'Pending'" class = "btn-cancel" shape = "round" > Enviar para Pendentes< / button >
< / div >
< / div >
< / div >
2021-08-24 14:20:10 +01:00
< div class = "buttons" * ngIf = "task.activityInstanceName == 'Tarefa de Despacho' && task.WorkflowName != 'Despacho do Presidente da República' " >
2021-05-27 14:33:17 +01:00
< button ( click ) = " openAddNoteModal ( ' Executado ' ) " class = "btn-cancel" shape = "round" > Executado< / button >
< button ( click ) = " openDelegarModal ( task ) " class = "btn-cancel" shape = "round" > Delegar< / button >
2021-06-14 14:16:16 +01:00
< div class = "solid" > < / div >
2021-08-23 16:28:45 +01:00
< button ( click ) = " openTaskProcessModal ( ' 0 ' , fulltask ) " class = "btn-cancel" shape = "round" > Efetuar Despacho< / button >
2021-07-01 12:36:37 +01:00
< button ( click ) = " openTaskProcessModal ( ' 1 ' , fulltask ) " class = "btn-cancel" shape = "round" > Solicitar Parecer< / button >
2022-04-01 11:29:32 +01:00
< button * ngIf = "p.userPermission([p.permissionList.Agenda.access])" ( click ) = " openBookMeetingModal ( task ) " class = "btn-cancel" shape = "round" > Marcar Reunião< / button >
2021-06-14 14:16:16 +01:00
< div class = "solid" > < / div >
2021-07-16 19:51:19 +01:00
< button ( click ) = " sendExpedienteToPending ( ) " * ngIf = "task.Status != 'Pending'" class = "btn-cancel" shape = "round" > Enviar para Pendentes< / button >
2021-06-14 14:16:16 +01:00
< / div >
2021-08-24 14:07:27 +01:00
2021-06-14 14:16:16 +01:00
< div class = "buttons" * ngIf = "task.activityInstanceName == 'Reexecutar Despacho'" >
< button ( click ) = " openAddNoteModal ( ' Executado ' ) " class = "btn-cancel" shape = "round" > Executado< / button >
2021-07-16 19:51:19 +01:00
< button ( click ) = " openDelegarModal ( task ) " * ngIf = "task.Status != 'Pending'" class = "btn-cancel" shape = "round" > Delegar< / button >
2021-05-27 14:33:17 +01:00
< div class = "solid" > < / div >
2021-08-23 16:28:45 +01:00
< button ( click ) = " openTaskProcessModal ( ' 0 ' , fulltask ) " class = "btn-cancel" shape = "round" > Efetuar Despacho< / button >
2021-07-01 12:36:37 +01:00
< button ( click ) = " openTaskProcessModal ( ' 1 ' , fulltask ) " class = "btn-cancel" shape = "round" > Solicitar Parecer< / button >
2022-04-01 11:29:32 +01:00
< button * ngIf = "p.userPermission([p.permissionList.Agenda.access])" ( click ) = " openBookMeetingModal ( task ) " class = "btn-cancel" shape = "round" > Marcar Reunião< / button >
2021-05-27 14:33:17 +01:00
< div class = "solid" > < / div >
2021-07-16 19:51:19 +01:00
< button ( click ) = " sendExpedienteToPending ( ) " * ngIf = "task.Status != 'Pending'" class = "btn-cancel" shape = "round" > Enviar para Pendentes< / button >
2021-05-27 14:33:17 +01:00
< / div >
< div class = "buttons" * ngIf = "task.activityInstanceName == 'Concluir Despacho'" >
2021-06-14 14:16:16 +01:00
< button ( click ) = " openAddNoteModal ( ' Arquivar ' ) " class = "btn-cancel" shape = "round" > Arquivar< / button >
< div class = "solid" > < / div >
2021-08-23 16:28:45 +01:00
< button ( click ) = " openTaskProcessModal ( ' 0 ' , fulltask ) " class = "btn-cancel" shape = "round" > Efetuar Despacho< / button >
2021-07-01 12:36:37 +01:00
< button ( click ) = " openTaskProcessModal ( ' 1 ' , fulltask ) " class = "btn-cancel" shape = "round" > Solicitar Parecer< / button >
2022-04-01 11:29:32 +01:00
< button * ngIf = "p.userPermission([p.permissionList.Agenda.access])" ( click ) = " openBookMeetingModal ( task ) " class = "btn-cancel" shape = "round" > Marcar Reunião< / button >
2021-06-14 14:16:16 +01:00
< div class = "solid" > < / div >
2021-07-16 19:51:19 +01:00
< button ( click ) = " sendExpedienteToPending ( ) " * ngIf = "task.Status != 'Pending'" class = "btn-cancel" shape = "round" > Enviar para Pendentes< / button >
2021-06-14 14:16:16 +01:00
< button ( click ) = " openAddNoteModal ( ' Reexecução ' ) " class = "btn-cancel" shape = "round" > Enviar para Reexecução< / button >
2021-05-27 14:33:17 +01:00
< / div >
< / ion-content >