@ -3,7 +3,7 @@
< / ng-container >
< / ng-container >
< ng-container * ngIf = "!chargement" >
< ng-container * ngIf = "!chargement" >
< ng-container * ngIf = "!estSaisi eEP" >
< ng-container * ngIf = "!estAffichag eEP" >
<!-- Barre de recherche -->
<!-- Barre de recherche -->
< mat-form-field >
< mat-form-field >
< mat-label > Rechercher un collaborateur< / mat-label >
< mat-label > Rechercher un collaborateur< / mat-label >
@ -15,12 +15,12 @@
<!-- Checkboxes des BU -->
<!-- Checkboxes des BU -->
< ng-container >
< ng-container >
< mat-checkbox * ngFor = "let bu of bus" ( change ) = " updateCheckbox ( $ event . checked , bu ) " [ checked ] = " true " > {{bu.nom}}< / mat-checkbox >
< mat-checkbox * ngFor = "let bu of bus" ( change ) = " updateBUs ( $ event . checked , bu ) " [ checked ] = " true " > {{bu.nom}}< / mat-checkbox >
< / ng-container >
< / ng-container >
<!-- Checkboxes des Etats engagement -->
<!-- Checkboxes des Etats engagement -->
< ng-container >
< ng-container >
< mat-checkbox * ngFor = "let etat of etatsEngagements" ( change ) = " updateEtatsEngagement ( $ event . checked , etat ) " [ checked ] = " true " > {{afficherEtat(etat)}}< / mat-checkbox >
< mat-checkbox * ngFor = "let etat of etatsEngagementsAffiches " ( change ) = " updateEtatsEngagement ( $ event . checked , etat ) " [ checked ] = " true " > {{afficherEtat(etat)}}< / mat-checkbox >
< / ng-container >
< / ng-container >
< / ng-container >
< / ng-container >
@ -29,61 +29,61 @@
< / ng-container >
< / ng-container >
< ng-container * ngIf = "taille != 0" >
< ng-container * ngIf = "taille != 0" >
< mat-table >
< mat-table [ dataSource ] = " dataSource " >
< ng-container matColumnDef = "businessunit" >
< ng-container matColumnDef = "businessunit" >
< mat-header-cell * matHeaderCellDef mat-sort-header disableClear > Agence< / mat-header-cell >
< mat-header-cell * matHeaderCellDef > Agence< / mat-header-cell >
< mat-cell * matCellDef = "let row" > {{row.ep.collaborateur.businessUnit.nom}}< / mat-cell >
< mat-cell * matCellDef = "let row" > {{row.ep.collaborateur.businessUnit.nom}}< / mat-cell >
< / ng-container >
< / ng-container >
< ng-container matColumnDef = "collaborateur" >
< ng-container matColumnDef = "collaborateur" >
< mat-header-cell * matHeaderCellDef mat-sort-header disableClear > Collaborateur< / mat-header-cell >
< mat-header-cell * matHeaderCellDef > Collaborateur< / mat-header-cell >
< mat-cell * matCellDef = "let row" > {{row.ep.collaborateur.nom}} {{row.ep.collaborateur.prenom}}< / mat-cell >
< mat-cell * matCellDef = "let row" > {{row.ep.collaborateur.nom}} {{row.ep.collaborateur.prenom}}< / mat-cell >
< / ng-container >
< / ng-container >
< ng-container matColumnDef = "action" >
< ng-container matColumnDef = "action" >
< mat-header-cell * matHeaderCellDef mat-sort-header disableClear > Action< / mat-header-cell >
< mat-header-cell * matHeaderCellDef > Action< / mat-header-cell >
< mat-cell * matCellDef = "let row" > {{row.action}}< / mat-cell >
< mat-cell * matCellDef = "let row" > {{row.action}}< / mat-cell >
< / ng-container >
< / ng-container >
< ng-container matColumnDef = "dispot itif" >
< ng-container matColumnDef = "dispos itif" >
< mat-header-cell * matHeaderCellDef mat-sort-header disableClear > Dispositif< / mat-header-cell >
< mat-header-cell * matHeaderCellDef > Dispositif< / mat-header-cell >
< mat-cell * matCellDef = "let row" > {{row.dispotitif}}< / mat-cell >
< mat-cell * matCellDef = "let row" > {{row.dispotitif}}< / mat-cell >
< / ng-container >
< / ng-container >
< ng-container matColumnDef = "modalite" >
< ng-container matColumnDef = "modalite" >
< mat-header-cell * matHeaderCellDef mat-sort-header disableClear > Modalité< / mat-header-cell >
< mat-header-cell * matHeaderCellDef > Modalité< / mat-header-cell >
< mat-cell * matCellDef = "let row" > {{row.modalite}}< / mat-cell >
< mat-cell * matCellDef = "let row" > {{row.modalite}}< / mat-cell >
< / ng-container >
< / ng-container >
< ng-container matColumnDef = "datelimite" >
< ng-container matColumnDef = "datelimite" >
< mat-header-cell * matHeaderCellDef mat-sort-header disableClear > Date limite< / mat-header-cell >
< mat-header-cell * matHeaderCellDef > Date limite< / mat-header-cell >
< mat-cell * matCellDef = "let row" > {{row.dateLimite}}< / mat-cell >
< mat-cell * matCellDef = "let row" > {{row.dateLimite}}< / mat-cell >
< / ng-container >
< / ng-container >
< ng-container matColumnDef = "etat" >
< ng-container matColumnDef = "etat" >
< mat-header-cell * matHeaderCellDef mat-sort-header disableClear > Etat engagement< / mat-header-cell >
< mat-header-cell * matHeaderCellDef > Etat engagement< / mat-header-cell >
< mat-cell * matCellDef = "let row" > {{afficherEtat(row.etatEngagement)}}< / mat-cell >
< mat-cell * matCellDef = "let row" > {{afficherEtat(row.etatEngagement)}}< / mat-cell >
< / ng-container >
< / ng-container >
< ng-container matColumnDef = "ep" >
< ng-container matColumnDef = "ep" >
< mat-header-cell * matHeaderCellDef mat-sort-header disableClear > EP< / mat-header-cell >
< mat-header-cell * matHeaderCellDef > EP< / mat-header-cell >
< mat-cell * matCellDef = "let row" > Voir EP< / mat-cell >
< mat-cell * matCellDef = "let row" > Voir EP< / mat-cell >
< / ng-container >
< / ng-container >
< ng-container matColumnDef = "reponse" >
< ng-container matColumnDef = "reponse" >
< mat-header-cell * matHeaderCellDef mat-sort-header disableClear > < / mat-header-cell >
< mat-header-cell * matHeaderCellDef > < / mat-header-cell >
< mat-cell * matCellDef = "let row" > Mettre à jour l'engagement< / mat-cell >
< mat-cell * matCellDef = "let row" > Mettre à jour l'engagement< / mat-cell >
< / ng-container >
< / ng-container >
< ng-container matColumnDef = "supprimer" >
< ng-container matColumnDef = "supprimer" >
< mat-header-cell * matHeaderCellDef mat-sort-header disableClear > < / mat-header-cell >
< mat-header-cell * matHeaderCellDef > < / mat-header-cell >
< mat-cell * matCellDef = "let row" > Supprimer l'engagement< / mat-cell >
< mat-cell * matCellDef = "let row" > Supprimer l'engagement< / mat-cell >
< / ng-container >
< / ng-container >
< mat-header-row * matHeaderRowDef = "displayedColumns" > < / mat-header-row >
< mat-header-row * matHeaderRowDef = "displayedColumns" > < / mat-header-row >
< mat-row * matRowDef = "let row; columns: displayedColumns;" > < / mat-row >
< mat-row * matRowDef = "let row; columns: displayedColumns;" ( click ) = " emitEvent ( row ) " > < / mat-row >
< / mat-table >
< / mat-table >
< mat-paginator * ngIf = "!estSaisi eEP" # paginator
< mat-paginator * ngIf = "!estAffichag eEP" # paginator
[length] = "taille"
[length] = "taille"
[pageIndex]="numPage-1"
[pageIndex]="numPage-1"
[pageSize]="parPage"
[pageSize]="parPage"