feature/gabinete-search

This commit is contained in:
Peter Maquiran
2023-05-26 14:23:37 +01:00
parent 0b3ffa3ea7
commit b2da8463b4
56 changed files with 98 additions and 186 deletions
@@ -435,7 +435,7 @@ export class NewEventPage implements OnInit {
}
calculetedLastOccurrence(type:number){
// console.log(type);
var valor;
var opcao: boolean;
if (type == 0) {
@@ -542,7 +542,6 @@ export class NewEventPage implements OnInit {
},
error => {
console.log(error, 'error')
loader.remove()
this.showLoader = false
this.hhtpErrorHandle.httpStatusHandle(error)
@@ -670,15 +669,15 @@ export class NewEventPage implements OnInit {
selectedCalendarId () {
if (this.eventService.calendarNamesType[this.CalendarName]?.['Oficial'] && this.postEvent.CalendarName == 'Oficial') {
console.log('1')
return this.eventService.calendarNamesType[this.CalendarName]['OficialId']
} else if (this.eventService.calendarNamesType[this.CalendarName]?.['Pessoal'] && this.postEvent.CalendarName == 'Pessoal') {
console.log('2')
return this.eventService.calendarNamesType[this.CalendarName]['PessoalId']
} else {
console.log('1:1',this.eventService.calendarNamesType,'2', this.CalendarName)
return '11:11'
}
}