diff --git a/src/app/shared/affichage-details-collaboarteur/affichage-details-collaborateur.html b/src/app/shared/affichage-details-collaboarteur/affichage-details-collaborateur.html index 5f725a0..4809dd0 100644 --- a/src/app/shared/affichage-details-collaboarteur/affichage-details-collaborateur.html +++ b/src/app/shared/affichage-details-collaboarteur/affichage-details-collaborateur.html @@ -12,7 +12,7 @@ - + @@ -24,11 +24,11 @@ - + - + diff --git a/src/app/shared/affichage-details-collaboarteur/affichage-details-collaborateur.ts b/src/app/shared/affichage-details-collaboarteur/affichage-details-collaborateur.ts index 3981b82..00d7745 100644 --- a/src/app/shared/affichage-details-collaboarteur/affichage-details-collaborateur.ts +++ b/src/app/shared/affichage-details-collaboarteur/affichage-details-collaborateur.ts @@ -23,11 +23,11 @@ export class AffichageDetailsCollaborateurComponent implements OnInit{ displayedColumnsCollaborateurs : string[] = ["businessunit", "collaborateur", "datearrivee"]; - displayedColumnsEPReferent : string[] = ["agence", "collaborateur", "datearrivee", "typeep", "statutep", "dateentretien" ]; + displayedColumnsEPReferent : string[] = ["agence", "collaborateur", "datearrivee", "typeep", "statutep", "dateentretien", "consultation" ]; displayedColumnsParticipationFormaton: string[]= ["intitule", "statut", "dateCreation", "ep", "evaluation"]; - displayedColumnsEPCollaborateur: string[] = ["agence", "referent", "typeep", "statutep", "dateentretien" ]; + displayedColumnsEPCollaborateur: string[] = ["agence", "referent", "typeep", "statutep", "dateentretien", "consultation" ]; rechercherParBU: boolean = false; @@ -62,6 +62,10 @@ export class AffichageDetailsCollaborateurComponent implements OnInit{ } } + ouvrirEP(event) { + if(event.type == "ep") + this.router.navigate(["/ep", event.ep.id]); + } ouvrirDetailsCollaborateur(event) { this.router.navigate(["/collaborateurs",event.collaborateur.id]);