diff --git a/src/app/pages/gabinete-digital/expediente/expediente-detail/expediente-detail.page.html b/src/app/pages/gabinete-digital/expediente/expediente-detail/expediente-detail.page.html
index 72e94874d..c81ba5f26 100644
--- a/src/app/pages/gabinete-digital/expediente/expediente-detail/expediente-detail.page.html
+++ b/src/app/pages/gabinete-digital/expediente/expediente-detail/expediente-detail.page.html
@@ -102,7 +102,7 @@
-
+
@@ -113,7 +113,7 @@
-
+
diff --git a/src/app/shared/agenda/edit-event/edit-event.page.ts b/src/app/shared/agenda/edit-event/edit-event.page.ts
index 81a806fc8..6b9f55c37 100644
--- a/src/app/shared/agenda/edit-event/edit-event.page.ts
+++ b/src/app/shared/agenda/edit-event/edit-event.page.ts
@@ -122,9 +122,6 @@ export class EditEventPage implements OnInit {
}
this.initCalendarName = this.postEvent.CalendarName;
-
- this.loadedEventAttachments = this.loadedEventAttachments.concat(this.postEvent.Attachments)
-
this.getRecurrenceTypes();
setTimeout(() => {
@@ -136,7 +133,7 @@ export class EditEventPage implements OnInit {
}
ngOnChanges(changes: any): void {
- this.loadedEventAttachments = this.loadedEventAttachments.concat(this.postEvent.Attachments)
+ this.loadedEventAttachments = this.postEvent.Attachments
}
close() {
@@ -472,43 +469,43 @@ export class EditEventPage implements OnInit {
}
- async getDoc() {
+ // async getDoc() {
- const modal = await this.modalController.create({
- component: SearchPage,
- cssClass: 'modal-width-100-width-background modal',
- componentProps: {
- type: 'AccoesPresidenciais & ArquivoDespachoElect',
- showSearchInput: true,
- select: true,
- }
- });
- await modal.present();
- modal.onDidDismiss().then( async (res)=>{
- if(res){
- const data = res.data;
+ // const modal = await this.modalController.create({
+ // component: SearchPage,
+ // cssClass: 'modal-width-100-width-background modal',
+ // componentProps: {
+ // type: 'AccoesPresidenciais & ArquivoDespachoElect',
+ // showSearchInput: true,
+ // select: true,
+ // }
+ // });
+ // await modal.present();
+ // modal.onDidDismiss().then( async (res)=>{
+ // if(res){
+ // const data = res.data;
- const ApplicationIdDocumentToSave: any = {
- SourceName: data.selected.Assunto,
- ParentId: this.postEvent.EventId,
- SourceId: data.selected.Id,
- Stakeholders: data.selected.Stakeholders | data.selected.EntidadeOrganicaNome,
- ApplicationId: data.selected.ApplicationType.toString(),
- CreateDate: data.selected.Data,
- // needed to attach this document
- Id: 'add',
- SourceTitle: data.selected.Assunto,
- Source: '1',
- Link: '',
- SerialNumber: '',
- }
+ // const ApplicationIdDocumentToSave: any = {
+ // SourceName: data.selected.Assunto,
+ // ParentId: this.postEvent.EventId,
+ // SourceId: data.selected.Id,
+ // Stakeholders: data.selected.Stakeholders | data.selected.EntidadeOrganicaNome,
+ // ApplicationId: data.selected.ApplicationType.toString(),
+ // CreateDate: data.selected.Data,
+ // // needed to attach this document
+ // Id: 'add',
+ // SourceTitle: data.selected.Assunto,
+ // Source: '1',
+ // Link: '',
+ // SerialNumber: '',
+ // }
- this.loadedEventAttachments.push(ApplicationIdDocumentToSave)
+ // this.loadedEventAttachments.push(ApplicationIdDocumentToSave)
- }
- });
- }
+ // }
+ // });
+ // }
}
diff --git a/src/app/shared/popover/opts-expediente-pr/opts-expediente-pr.page.html b/src/app/shared/popover/opts-expediente-pr/opts-expediente-pr.page.html
index 34f938ca0..c31e8b565 100644
--- a/src/app/shared/popover/opts-expediente-pr/opts-expediente-pr.page.html
+++ b/src/app/shared/popover/opts-expediente-pr/opts-expediente-pr.page.html
@@ -12,14 +12,14 @@
-
+
@@ -27,7 +27,7 @@