This commit is contained in:
Peter Maquiran
2024-03-03 18:14:33 +01:00
parent eb17b9d310
commit 588b59b3ab
5 changed files with 67 additions and 41 deletions
@@ -27,7 +27,7 @@
<div class="buttons width-100">
<button (click)="openAddNoteModal('Arquivo')" class="btn-cancel" shape="round" >Arquivar</button>
</div>
<div class="buttons width-100" *ngIf="task.activityInstanceName != 'Assinar Diploma'">
<div class="buttons width-100" *ngIf="task.activityInstanceName != 'Assinar Diploma' && task.activityInstanceName != 'Revisar Diploma'">
<button (click)="openExpedientActionsModal('0',task)" class="btn-cancel" shape="round" >Efetuar despacho</button>
</div>
</div>
@@ -143,6 +143,7 @@ export class OptsExpedientePage implements OnInit {
this.attachmentsService.AddAttachment(body).subscribe((res)=> {
this.toastService._successMessage()
this.popoverController.dismiss()
}, (error) => {
this.httpErrorHanlde.httpStatusHandle(error)
},()=> {
@@ -151,7 +152,7 @@ export class OptsExpedientePage implements OnInit {
});
this.popoverController.dismiss()
}
}, (error) => {