2021-04-08 01:56:11 +01:00
< ion-content >
2021-04-09 08:32:09 +01:00
< div class = "main-content d-flex height-100" >
< div * ngIf = "LoadedDocument" class = "content d-flex flex-column" >
2021-04-09 04:34:21 +01:00
< div class = "main-header" >
2021-08-10 13:22:33 +01:00
< div class = "title-content width-100 d-flex align-center" >
2021-04-09 04:34:21 +01:00
< app-btn-modal-dismiss > < / app-btn-modal-dismiss >
2021-08-10 13:22:33 +01:00
< div class = "middle flex-grow-1" >
2021-07-30 22:03:48 +01:00
< ion-label class = "title" > {{LoadedDocument.Assunto}}< / ion-label >
2021-04-09 04:34:21 +01:00
< / div >
2021-08-10 13:22:33 +01:00
< div class = "div-icon" ( click ) = " openOptions ( ) " >
2021-10-25 10:53:01 +01:00
< ion-icon * ngIf = "ThemeService.currentTheme == 'default' " class = "font-25 cursor-pointer" src = "assets/images/icons-menu.svg" > < / ion-icon >
< ion-icon * ngIf = "ThemeService.currentTheme == 'gov' " class = "font-25 cursor-pointer" src = "assets/images/theme/gov/icons-menu.svg" > < / ion-icon >
2022-10-20 15:45:10 +01:00
< ion-icon * ngIf = "ThemeService.currentTheme == 'doneIt' " class = "font-25 cursor-pointer" src = "assets/images/theme/{{ThemeService.currentTheme}}/icons-menu.svg" > < / ion-icon >
2021-10-23 09:21:26 +01:00
<!-- <ion - icon class="font - 25 cursor - pointer" src="assets/images/theme/gov/icons - menu.svg"></ion - icon> -->
2021-04-09 04:34:21 +01:00
< / div >
< / div >
< / div >
< div class = "upper-content" >
< div class = "content-details" >
< ion-label >
2021-07-30 22:03:48 +01:00
< p > < span class = "date" > {{customDate}}< / span > < span class = "label" * ngIf = "LoadedDocument.Nature" > {{LoadedDocument.Nature}}< / span > < / p >
2021-04-09 04:34:21 +01:00
< / ion-label >
< / div >
< / div >
< div class = "line" > < / div >
< div class = "middle-content" >
2023-08-30 17:07:08 +01:00
< h5 * ngIf = "LoadedDocument.ApplicationId == 361 || LoadedDocument.ApplicationID == 361" > Intervenientes< / h5 >
2021-08-09 15:47:36 +01:00
< h5 * ngIf = "LoadedDocument.ApplicationId == 8 || LoadedDocument.ApplicationID == 8" > Remetente< / h5 >
2021-08-09 13:56:17 +01:00
2021-04-09 04:34:21 +01:00
< ion-item class = "ion-no-margin ion-no-padding" >
< ion-label >
< div >
2021-08-09 13:56:17 +01:00
< p > {{LoadedDocument.Interveners || LoadedDocument.Sender}}< / p >
2021-04-09 04:34:21 +01:00
< / div >
< / ion-label >
< / ion-item >
2021-08-09 13:56:17 +01:00
< h5 * ngIf = "LoadedDocument.ApplicationId == 361 || LoadedDocument.ApplicationID == 361" > Status< / h5 >
< ion-item * ngIf = "LoadedDocument.ApplicationId == 361 || LoadedDocument.ApplicationID == 361" class = "ion-no-margin ion-no-padding" >
2021-07-23 17:16:27 +01:00
< p > {{LoadedDocument.Status}}< / p >
2021-04-09 04:34:21 +01:00
< / ion-item >
< / div >
2021-08-11 17:05:37 +01:00
< div class = "bottom-content width-100" * ngIf = "LoadedDocument" >
2021-04-09 04:34:21 +01:00
< ion-list >
2023-07-07 12:03:03 +01:00
< h5 class = "font-17-rem" > Documentos Anexados< / h5 >
2021-04-09 04:34:21 +01:00
< ion-item class = "ion-no-margin ion-no-padding" >
2021-08-24 14:37:09 +01:00
2021-04-09 04:34:21 +01:00
< ion-label
2021-08-11 17:05:37 +01:00
( click ) = " viewDocument ( ) "
* ngIf = "LoadedDocument.ApplicationId == 8 || LoadedDocument.ApplicationID == 8"
>
< div class = "attach-title-item" >
2024-03-21 17:06:36 +01:00
{{LoadedDocument.Assunto || 'Sem título'}}
2021-08-11 17:05:37 +01:00
< / div >
< div class = "d-flex justify-between" style = "justify-content: space-between" >
< span class = "span-left" > {{ LoadedDocument.Sender }}< / span >
< span class = "span-right" > {{ LoadedDocument.DocDate | date: 'dd-MM-yyyy HH:mm' }}< / span >
< / div >
2021-04-09 04:34:21 +01:00
< / ion-label >
2021-08-11 17:05:37 +01:00
< ion-label
* ngIf = "LoadedDocument.ApplicationId == 361 || LoadedDocument.ApplicationID == 361"
>
2021-10-09 11:31:58 +01:00
< div * ngFor = "let Document of LoadedDocument.Documents; let i = index" >
< div class = "attach-title-item" ( click ) = " docIndex ( i ) ; viewDocumentModal ( ) " >
2021-08-11 17:05:37 +01:00
{{Document.Assunto}}
< / div >
< div * ngIf = "Document.Sender" class = "d-flex justify-between" style = "justify-content: space-between" >
< span class = "span-left" > {{ Document.Sender }}< / span >
< span class = "span-right" > {{ Document.DocDate | date: 'dd-MM-yyyy HH:mm' }}< / span >
< / div >
< / div >
< / ion-label >
2021-04-09 04:34:21 +01:00
< / ion-item >
< / ion-list >
< / div >
< / div >
2021-04-09 08:32:09 +01:00
< div * ngIf = "LoadedDocument" class = "aside-right flex-column height-100" >
2021-04-09 04:34:21 +01:00
< div class = "buttons" >
2023-01-30 14:04:57 +01:00
< button ( click ) = " openExpedientActionsModal ( ' 0 ' ) " class = "btn-cancel" shape = "round" > Efetuar Despacho< / button >
2021-04-09 04:34:21 +01:00
< div class = "solid" > < / div >
2021-08-10 16:24:14 +01:00
< button ( click ) = " openExpedientActionsModal ( ' 1 ' ) " class = "btn-cancel" shape = "round" > Solicitar Parecer< / button >
2023-02-01 09:20:58 +01:00
< button * ngIf = "!p.userRole(['PR']) && !p.userPermission([p.permissionList.Gabinete.pr_tasks])" ( click ) = " openExpedientActionsModal ( ' 2 ' ) " class = "btn-cancel" shape = "round" > Pedido de Deferimento< / button >
2021-07-27 09:34:41 +01:00
< button ( click ) = " openBookMeetingModal ( ) " class = "btn-cancel" shape = "round" > Marcar Reunião< / button >
2021-04-09 04:34:21 +01:00
< / div >
< / div >
2021-04-09 08:32:09 +01:00
< div hidden >
2021-04-09 04:34:21 +01:00
< ion-list >
< ion-list-header >
< ion-label >
< ion-skeleton-text animated style = "width: 50%" > < / ion-skeleton-text >
< / ion-label >
< / ion-list-header >
< ion-item >
< ion-label >
< h3 >
< ion-skeleton-text animated style = "width: 50%" > < / ion-skeleton-text >
< / h3 >
< p >
< ion-skeleton-text animated style = "width: 80%" > < / ion-skeleton-text >
< / p >
< / ion-label >
< / ion-item >
< ion-item >
< ion-label >
< h3 >
< ion-skeleton-text animated style = "width: 50%" > < / ion-skeleton-text >
< / h3 >
< p > < ion-skeleton-text animated style = "width: 80%" > < / ion-skeleton-text > < / p >
< / ion-label >
< / ion-item >
< ion-item >
< ion-label >
< h3 >
< ion-skeleton-text animated style = "width: 50%" > < / ion-skeleton-text >
< / h3 >
< p >
< ion-skeleton-text animated style = "width: 80%" > < / ion-skeleton-text >
< / p >
< / ion-label >
< / ion-item >
2021-08-24 14:37:09 +01:00
< button color = "medium" shape = "round" expand = "block" >
2021-04-09 04:34:21 +01:00
<!-- <ion - icon color="medium" name="attach" slot="start"></ion - icon> -->
< ion-skeleton-text animated style = "width: 50%" > < / ion-skeleton-text >
2021-08-24 14:37:09 +01:00
< / button >
2021-04-09 04:34:21 +01:00
< / ion-list >
< / div >
< / div >
2021-08-24 14:37:09 +01:00
< / ion-content >