mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-21 13:55:51 +00:00
save
This commit is contained in:
@@ -141,7 +141,7 @@ export class EventsPage implements OnInit {
|
|||||||
this.showLoader = false;
|
this.showLoader = false;
|
||||||
|
|
||||||
}
|
}
|
||||||
else{
|
else if (this.loggeduser.Profile == 'PR'){
|
||||||
|
|
||||||
let prOficialEvents= await this.eventService.getAllPrOficialEvents(start, end).toPromise();
|
let prOficialEvents= await this.eventService.getAllPrOficialEvents(start, end).toPromise();
|
||||||
let prPessoalEvents= await this.eventService.getAllPrPessoalEvents(start, end).toPromise();
|
let prPessoalEvents= await this.eventService.getAllPrPessoalEvents(start, end).toPromise();
|
||||||
|
|||||||
@@ -118,15 +118,6 @@ export class EventsService {
|
|||||||
|
|
||||||
params = params.set("Start", startdate);
|
params = params.set("Start", startdate);
|
||||||
params = params.set("End", enddate);
|
params = params.set("End", enddate);
|
||||||
|
|
||||||
/* switch (this.loggeduser.Profile == 'MDGPR') {
|
|
||||||
case value:
|
|
||||||
|
|
||||||
break;
|
|
||||||
|
|
||||||
default:
|
|
||||||
break;
|
|
||||||
} */
|
|
||||||
|
|
||||||
let options = {
|
let options = {
|
||||||
headers: this.headersPrOficial,
|
headers: this.headersPrOficial,
|
||||||
|
|||||||
Reference in New Issue
Block a user