2021-08-25 10:49:17 +01:00
< ion-content class = "options-container" >
2021-05-27 14:33:17 +01:00
< div class = "arrow-right" ( click ) = " close ( ) " >
< 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-18 16:35:23 +01:00
< div class = "width-100" >
< div * ngIf = "task && !p.userRole(['PR'])" class = "d-flex width-100" >
2021-08-20 12:54:20 +01:00
< div class = "flex-grow-1 width-50 pr-10" >
2022-04-01 11:29:32 +01:00
< button * ngIf = "p.userPermission([p.permissionList.Gabinete.md_tasks])" class = "btn-cancel desk" shape = "round" > Responder ao PR < / button >
< button * ngIf = "p.userPermission([p.permissionList.Gabinete.md_tasks])" ( click ) = " openAddNoteModal ( ' Executado ' ) " class = "btn-cancel" shape = "round" > Executado< / button >
< button * ngIf = "p.userPermission([p.permissionList.Gabinete.md_tasks])" class = "btn-cancel desk" shape = "round" > Reencaminhar para Área jurídica < / button >
< button * ngIf = "p.userPermission([p.permissionList.Gabinete.md_tasks])" ( click ) = " openAddNoteModal ( ' Gerar Diploma ' ) " class = "btn-cancel" shape = "round" > Gerar Diploma< / button >
< button * ngIf = "p.userPermission([p.permissionList.Gabinete.md_tasks])" class = "btn-cancel desk" shape = "round" > Outras opções < / button >
< button * ngIf = "p.userPermission([p.permissionList.Gabinete.md_tasks])" ( click ) = " openExpedientActionsModal ( ' 0 ' , fulltask ) " class = "btn-cancel" shape = "round" > Efetuar Despacho< / button >
2021-08-18 16:35:23 +01:00
< / div >
2021-08-20 12:54:20 +01:00
< div class = "flex-grow-1 width-50 pl-10" >
2022-04-01 11:29:32 +01:00
< button * ngIf = "p.userPermission([p.permissionList.Gabinete.md_tasks])" ( click ) = " openExpedientActionsModal ( ' 1 ' , fulltask ) " class = "btn-cancel" shape = "round" > Solicitar Parecer< / button >
2021-09-02 14:23:17 +01:00
<!-- <button *ngIf="!p.userRole(['PR'])" (click)="openExpedientActionsModal('2',fulltask)" class="btn - cancel" shape="round" >Pedido de Deferimento</button> -->
2022-04-01 11:29:32 +01:00
< button * ngIf = "p.userPermission([p.permissionList.Gabinete.md_tasks])" ( click ) = " openDelegarModal ( task ) " class = "btn-cancel" shape = "round" > Delegar< / button >
2022-04-01 15:32:30 +01:00
< button * ngIf = "p.userPermission([p.permissionList.Gabinete.md_tasks]) && task.Status != 'Pending'" ( click ) = " sendExpedienteToPending ( ) " full class = "btn-cancel" shape = "round" > Enviar para pendentes< / button >
2021-09-03 15:20:42 +01:00
< button ( click ) = " cancle ( ) " full class = "btn-cancel" shape = "round" > Cancelar< / button >
2021-08-18 16:35:23 +01:00
< / div >
< / div >
< div * ngIf = "task && p.userRole(['PR'])" class = "d-flex width-100" >
< div class = "flex-grow-1" >
2022-04-01 11:29:32 +01:00
< button * ngIf = "p.userPermission([p.permissionList.Gabinete.pr_tasks])" ( click ) = " openAddNoteModal ( ' Concluido ' ) " class = "btn-cancel" shape = "round" > Marcar como Concluído< / button >
< button * ngIf = "p.userPermission([p.permissionList.Gabinete.pr_tasks])" ( click ) = " openAddNoteModal ( ' Reexecução ' ) " class = "btn-cancel" shape = "round" > Enviar para Reexecução< / button >
< button * ngIf = "p.userPermission([p.permissionList.Agenda.access])" ( click ) = " openBookMeetingModal ( task ) " class = "btn-cancel" shape = "round" > Marcar Reunião< / button >
2022-04-01 15:32:30 +01:00
< button * ngIf = "p.userPermission([p.permissionList.Gabinete.pr_tasks]) && task.Status != 'Pending'" ( click ) = " sendExpedienteToPending ( ) " class = "btn-cancel" shape = "round" > Enviar para Pendentes< / button >
2021-09-03 15:20:42 +01:00
< button ( click ) = " cancle ( ) " full class = "btn-cancel" shape = "round" > Cancelar< / button >
2021-08-18 16:35:23 +01:00
< / div >
< / div >
2021-09-03 15:20:42 +01:00
<!-- <div class="solid"></div>
<button (click)="cancle()" full class="btn - cancel" shape="round" >Cancelar</button> -->
2021-05-27 14:33:17 +01:00
< / div >
< / ion-content >