This commit is contained in:
Peter Maquiran
2021-07-16 19:32:13 +01:00
parent c028e4e6f5
commit 050f84bc8e
13 changed files with 49 additions and 48 deletions
@@ -318,7 +318,7 @@ export class CreateProcessPage implements OnInit {
try {
await this.processes.postDespatcho(this.postData).toPromise();
this.executado(loader, 'Despacho criado');
await this.executado(loader, 'Despacho criado');
} catch (error) {
this.toastService.badRequest('Processo não efectuado');
}
@@ -337,7 +337,7 @@ export class CreateProcessPage implements OnInit {
try {
await this.processes.postParecer(this.postData).toPromise();
this.executado(loader);
await this.executado(loader);
this.toastService.successMessage('Pedido de Parecer criado');
}
catch (error) {
@@ -358,7 +358,7 @@ export class CreateProcessPage implements OnInit {
try {
await this.processes.postDeferimento(this.postData).toPromise();
this.executado(loader);
await this.executado(loader);
this.toastService.successMessage('Pedido de Deferimento criado');
}
catch (error) {
@@ -31,7 +31,7 @@ export class DarParecerPage implements OnInit {
ngOnInit() {
console.log(this.serialNumber
);
);
}
@@ -79,7 +79,7 @@ export class DarParecerPage implements OnInit {
this.documents = this.documents.filter( (e, i) => index != i);
}
async getDoc(){
async getDoc() {
const modal = await this.modalController.create({
component: SearchPage,
cssClass: 'modal-width-100-width-background modal',