From c399bb14fad9abd40c8ef7de9a8d8365a5b8a9bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yana=C3=ABl=20GRETTE?= Date: Thu, 25 Feb 2021 10:50:31 +0100 Subject: [PATCH] =?UTF-8?q?Possibilit=C3=A9=20d'acc=C3=A9der=20aux=20EP=20?= =?UTF-8?q?depuis=20la=20page=20des=20d=C3=A9tails=20collaborateur=20et=20?= =?UTF-8?q?r=C3=A9f=C3=A9rent?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../affichage-details-collaborateur.html | 6 +++--- .../affichage-details-collaborateur.ts | 8 ++++++-- 2 files changed, 9 insertions(+), 5 deletions(-) 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]);