This commit is contained in:
Peter Maquiran
2023-08-30 17:14:59 +01:00
43 changed files with 70 additions and 54 deletions
@@ -66,7 +66,7 @@
<ion-buttons slot="end" (click)="openAttendees()">
<ion-label color="secondary">Editar</ion-label>
</ion-buttons>
<ion-label class="attach-label">Participantes</ion-label>
<ion-label class="attach-label">Intervenientes</ion-label>
</ion-item>
<div *ngIf="loadedEvent.Attendees">
<div *ngFor="let attendee of loadedEvent.Attendees; let i=index">
@@ -68,7 +68,7 @@
<ion-buttons slot="end" (click)="openAttendees()">
<ion-label color="secondary">Editar</ion-label>
</ion-buttons>
<ion-label class="attach-label">Participantes</ion-label>
<ion-label class="attach-label">Intervenientes</ion-label>
</ion-item>
<div *ngIf="loadedEvent.Attendees">
<div *ngFor="let attendee of loadedEvent.Attendees; let i=index">
@@ -68,7 +68,7 @@
<ion-buttons slot="end" (click)="openAttendees()">
<ion-label color="secondary">Editar</ion-label>
</ion-buttons>
<ion-label class="attach-label">Participantes</ion-label>
<ion-label class="attach-label">Intervenientes</ion-label>
</ion-item>
<div *ngIf="loadedEvent.Attendees">
<div *ngFor="let attendee of loadedEvent.Attendees; let i=index">
@@ -140,6 +140,7 @@ export class NotificationsService {
this.eventtrigger.publishSomeData({
notification: "recive"
})
}
);
@@ -174,6 +175,7 @@ export class NotificationsService {
console.log(result);
this.storageService.store("Notifications", result)
+9
View File
@@ -487,4 +487,13 @@ export class ProcessesService {
return this.http.get<any>(`${geturl}`, options);
}
uploadFiles(file) {
const geturl = environment.apiURL + 'Tasks/AttachDocImage';
let options = {
headers: this.headers,
};
return this.http.post<any>(`${geturl}`,file, options);
}
}
+3 -3
View File
@@ -311,9 +311,9 @@ export class TaskService {
async loadEventosParaAprovacao() {
this.showLoaderNum++
console.log('PR')
// PR dont have event to approve
if(this.SessionStore.user.Profile != 'PR') {
/* if(this.SessionStore.user.Profile != 'PR') { */
try {
for(let calendar of this.eventService.calendarNamesAry) {
if(calendar == 'Meu calendario') {
@@ -345,7 +345,7 @@ export class TaskService {
} catch (error) {
}
}
/* } */
this.showLoaderNum--