La mise à jour du référent a été effectué avec succès
+
+
+
\ No newline at end of file
diff --git a/src/app/referents/referents.module.ts b/src/app/referents/referents.module.ts
index 4aa108e..2879938 100644
--- a/src/app/referents/referents.module.ts
+++ b/src/app/referents/referents.module.ts
@@ -10,11 +10,12 @@ import { MatTablesModule } from "@shared/mat-tables/mat-tables.module";
import { ReferentsComponent } from './referents.component';
import { DetailsReferentComponent } from './details-referent/details-referent.component';
import { ReferentsRoutingModule } from './referents.routing.module';
-import { AssignationReferentComponent } from "./assignation-referent/assignation-referent.component";
+import { AssignationReferentComponent, DialogAssignationReferentComponent } from "./assignation-referent/assignation-referent.component";
@NgModule({
declarations: [ DetailsReferentComponent,
- ReferentsComponent, AssignationReferentComponent
+ ReferentsComponent, AssignationReferentComponent,
+ DialogAssignationReferentComponent
],
exports: [ ReferentsComponent
],
diff --git a/src/app/shared/angular-material/angular-material.module.ts b/src/app/shared/angular-material/angular-material.module.ts
index 538300c..ceda0f8 100644
--- a/src/app/shared/angular-material/angular-material.module.ts
+++ b/src/app/shared/angular-material/angular-material.module.ts
@@ -18,7 +18,7 @@ import {MatCheckboxModule} from '@angular/material/checkbox';
import {MatSelectModule} from '@angular/material/select';
import {MatStepperModule} from '@angular/material/stepper';
import {MatChipsModule} from '@angular/material/chips';
-
+import {MatSnackBarModule} from '@angular/material/snack-bar';
import { NgxMatDatetimePickerModule, NgxMatTimepickerModule, NgxMatNativeDateModule } from '@angular-material-components/datetime-picker';
@@ -36,7 +36,7 @@ import { NgxMatDatetimePickerModule, NgxMatTimepickerModule, NgxMatNativeDateMod
NgxMatDatetimePickerModule, MatDatepickerModule,
NgxMatNativeDateModule, MatNativeDateModule,
MatCheckboxModule, MatSelectModule, MatStepperModule,
- MatChipsModule
+ MatChipsModule, MatSnackBarModule
],
exports : [MatCardModule,
MatButtonModule, MatMenuModule,
@@ -47,7 +47,7 @@ import { NgxMatDatetimePickerModule, NgxMatTimepickerModule, NgxMatNativeDateMod
NgxMatDatetimePickerModule, MatDatepickerModule,
NgxMatNativeDateModule, MatNativeDateModule,
MatCheckboxModule, MatSelectModule, MatStepperModule,
- MatChipsModule
+ MatChipsModule, MatSnackBarModule
]
})
export class MaterialModule {}
diff --git a/src/app/shared/mat-tables/collaborateurs-table/collaborateurs.table.css b/src/app/shared/mat-tables/collaborateurs-table/collaborateurs.table.css
index 9191d36..278feb0 100644
--- a/src/app/shared/mat-tables/collaborateurs-table/collaborateurs.table.css
+++ b/src/app/shared/mat-tables/collaborateurs-table/collaborateurs.table.css
@@ -1,7 +1,7 @@
.collaborateurAjoute {
- background-color: dodgerblue;
+ background-color: #5cb85c;
}
.dejaCollaborateurEP {
- background-color: red;
+ background-color: #337ab7;
}
\ No newline at end of file
diff --git a/src/app/shared/mat-tables/collaborateurs-table/collaborateurs.table.html b/src/app/shared/mat-tables/collaborateurs-table/collaborateurs.table.html
index 79d3352..4073e78 100644
--- a/src/app/shared/mat-tables/collaborateurs-table/collaborateurs.table.html
+++ b/src/app/shared/mat-tables/collaborateurs-table/collaborateurs.table.html
@@ -16,11 +16,7 @@
-
-
- {{bu.nom}}
-
-
+ {{bu.nom}}
@@ -72,7 +68,7 @@
-
+ c.id == collaborateur.id);
+ }
+
/**
* Mettre à jour la liste des
* @param event case cochée ou décochée
@@ -306,4 +319,5 @@ export class CollaborateursTableComponent implements OnInit {
this.collaborateursDisponiblesCountSubscription.unsubscribe();
}
}
-}
\ No newline at end of file
+ }
+
\ No newline at end of file