mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 13:26:08 +00:00
Fix
This commit is contained in:
@@ -306,7 +306,7 @@ export class DespachoPage implements OnInit {
|
||||
|
||||
await modal.present();
|
||||
|
||||
modal.onDidDismiss().then(res => {
|
||||
modal.onDidDismiss().then( async (res) => {
|
||||
if(res.data){
|
||||
|
||||
const DocumentToSave = res.data.documents.map((e) => {
|
||||
@@ -323,14 +323,14 @@ export class DespachoPage implements OnInit {
|
||||
|
||||
if(actionName == 'Executado'){
|
||||
|
||||
this.executado(res.data.note, docs);
|
||||
await this.executado(res.data.note, docs);
|
||||
}
|
||||
else if(actionName == 'Arquivar'){
|
||||
this.arquivar(res.data.note, docs);
|
||||
await this.arquivar(res.data.note, docs);
|
||||
this.goBack();
|
||||
}
|
||||
else if(actionName == 'Reexecução'){
|
||||
this.reexecute(res.data.note, docs);
|
||||
await this.reexecute(res.data.note, docs);
|
||||
this.goBack();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user