This commit is contained in:
Peter Maquiran
2021-05-11 15:46:20 +01:00
parent 3c5b69841a
commit d88f90916f
10 changed files with 79 additions and 26 deletions
@@ -10,7 +10,7 @@
<button (click)="openExpedientActionsModal('2',fulltask)" full class="btn-ok" shape="round" >Pedido de Deferimento</button>
<button (click)="openBookMeetingModal()" full class="btn-ok" shape="round" >Marcar reunião</button>
<button (click)="distartExpedientModal(fulltask)" full class="btn-ok" shape="round" >Descartar</button>
<button (click)="sendExpedienteToPending()" full class="btn-ok" shape="round" >Enviar para pendentes</button>
<button (click)="sendExpedienteToPending()" full class="btn-ok" shape="round" *ngIf="showEnviarPendentes" >Enviar para pendentes</button>
<div class="solid"></div>
<button (click)="close()" full class="btn-cancel" shape="round" >Cancelar</button>
</div>
@@ -15,6 +15,8 @@ export class OptsExpedientePage implements OnInit {
fulltask: any;
profile:string;
showEnviarPendentes = false
constructor(
private popoverController: PopoverController,
private modalController: ModalController,
@@ -23,6 +25,11 @@ export class OptsExpedientePage implements OnInit {
) {
this.task = this.navParams.get('task');
this.fulltask = this.navParams.get('fulltask');
this.showEnviarPendentes = this.navParams.get('showEnviarPendentes');
if(!this.showEnviarPendentes) this.showEnviarPendentes = false
}
ngOnInit() {