parent
4e2297a9e3
commit
ea72dbc48b
@ -1,54 +1,92 @@ |
||||
<div *ngIf="collaborateur" style="overflow-x:auto;" class="mb-3"> |
||||
|
||||
<table class="mb-3"> |
||||
<tr> |
||||
<th>Name</th> |
||||
<th>First Name</th> |
||||
<th>Birth Date</th> |
||||
<th>Gender</th> |
||||
<th>Status</th> |
||||
<th>Children Number</th> |
||||
<th>Address</th> |
||||
<th>Telephone</th> |
||||
<th>Personal Mail</th> |
||||
<th>Apside Mail</th> |
||||
<th>Resignation Date</th> |
||||
</tr> |
||||
|
||||
<tr> |
||||
<td><input id="collaborateur-name" [(ngModel)]="collaborateur.name" placeholder="name"></td> |
||||
<td><input id="collaborateur-firstName" [(ngModel)]="collaborateur.firstName" placeholder="firstname"></td> |
||||
<td><input id="collaborateur-birthDate" [(ngModel)]="collaborateur.birthDate" placeholder="birthDate"></td> |
||||
<td><input id="collaborateur-gender" [(ngModel)]="collaborateur.gender" placeholder="gender"></td> |
||||
<td><input id="collaborateur-status" [(ngModel)]="collaborateur.status" placeholder="status"></td> |
||||
<td><input id="collaborateur-childrenNumber" [(ngModel)]="collaborateur.childrenNumber" placeholder="childrenNumber"></td> |
||||
<td><input id="collaborateur-address" [(ngModel)]="collaborateur.address" placeholder="address"></td> |
||||
<td><input id="collaborateur-telephone" [(ngModel)]="collaborateur.telephone" placeholder="telephone"></td> |
||||
<td><input id="collaborateur-personalMail" [(ngModel)]="collaborateur.personalMail" placeholder="personalMail"></td> |
||||
<td><input id="collaborateur-apsideMail" [(ngModel)]="collaborateur.apsideMail" placeholder="apsideMail"></td> |
||||
<td><input id="collaborateur-resignationDate" [(ngModel)]="collaborateur.resignationDate" placeholder="resignationDate"></td> |
||||
</tr> |
||||
|
||||
</table> |
||||
|
||||
<select name="referrer" id="referrer-select" [(ngModel)]="collaborateur.referrerId"> |
||||
<option value="">-- Choisissez un référent pour le nouveau collaborateur --</option> |
||||
<div *ngIf="collaborateur" class="mb-3"> |
||||
|
||||
<div class="row mb-2"> |
||||
|
||||
<div class="form-group col-12 col-sm-6 col-md-4 col-lg-3"> |
||||
<label for="collaborateur-name" class="form-label">Name</label> |
||||
<input class="form-control" id="collaborateur-name" [(ngModel)]="collaborateur.name" placeholder="name"> |
||||
</div> |
||||
|
||||
<div class="form-group col-12 col-sm-6 col-md-4 col-lg-3"> |
||||
<label for="collaborateur-firstName" class="form-label">First Name</label> |
||||
<input class="form-control" id="collaborateur-firstName" [(ngModel)]="collaborateur.firstName" placeholder="firstname"> |
||||
</div> |
||||
|
||||
<div class="form-group col-12 col-sm-6 col-md-4 col-lg-3"> |
||||
<label for="collaborateur-birthDate" class="form-label">Birth Date</label> |
||||
<input class="form-control" id="collaborateur-birthDate" [(ngModel)]="collaborateur.birthDate" placeholder="birthDate"> |
||||
</div> |
||||
|
||||
<div class="form-group col-12 col-sm-6 col-md-4 col-lg-3"> |
||||
<label for="collaborateur-gender" class="form-label">Gender</label> |
||||
<input class="form-control" id="collaborateur-gender" [(ngModel)]="collaborateur.gender" placeholder="gender"> |
||||
</div> |
||||
</div> |
||||
|
||||
<div class="row mb-2"> |
||||
|
||||
<div class="form-group col-12 col-sm-6 col-md-4 col-lg-3"> |
||||
<label for="collaborateur-status" class="form-label">Status</label> |
||||
<input class="form-control" id="collaborateur-status" [(ngModel)]="collaborateur.status" placeholder="status"> |
||||
</div> |
||||
|
||||
<div class="form-group col-12 col-sm-6 col-md-4 col-lg-3"> |
||||
<label for="collaborateur-childrenNumber" class="form-label">Children Number</label> |
||||
<input class="form-control" id="collaborateur-childrenNumber" [(ngModel)]="collaborateur.childrenNumber" placeholder="childrenNumber"> |
||||
</div> |
||||
|
||||
<div class="form-group col-12 col-sm-6 col-md-4 col-lg-3"> |
||||
<label for="collaborateur-address" class="form-label">Address</label> |
||||
<input class="form-control" id="collaborateur-address" [(ngModel)]="collaborateur.address" placeholder="address"> |
||||
</div> |
||||
|
||||
<div class="form-group col-12 col-sm-6 col-md-4 col-lg-3"> |
||||
<label for="collaborateur-telephone" class="form-label">Telephone</label> |
||||
<input class="form-control" id="collaborateur-telephone" [(ngModel)]="collaborateur.telephone" placeholder="telephone"> |
||||
</div> |
||||
</div> |
||||
|
||||
<div class="row mb-4"> |
||||
|
||||
<div class="form-group col-12 col-sm-6 col-md-4 col-lg-3"> |
||||
<label for="collaborateur-personalMail" class="form-label">Personal Mail</label> |
||||
<input class="form-control" id="collaborateur-personalMail" [(ngModel)]="collaborateur.personalMail" placeholder="personalMail"> |
||||
</div> |
||||
|
||||
<div class="form-group col-12 col-sm-6 col-md-4 col-lg-3"> |
||||
<label for="collaborateur-apsideMail" class="form-label">Apside Mail</label> |
||||
<input class="form-control" id="collaborateur-apsideMail" [(ngModel)]="collaborateur.apsideMail" placeholder="apsideMail"> |
||||
</div> |
||||
|
||||
<div class="form-group col-12 col-sm-6 col-md-4 col-lg-3"> |
||||
<label for="collaborateur-resignationDate" class="form-label">Resignation Date</label> |
||||
<input class="form-control" id="collaborateur-resignationDate" [(ngModel)]="collaborateur.resignationDate" placeholder="resignationDate"> |
||||
</div> |
||||
</div> |
||||
|
||||
<div class="row"> |
||||
|
||||
<div class="form-group col-12 col-md-6"> |
||||
<label class="form-label">Referrer</label> |
||||
<select class="form-select" name="referrer" id="referrer-select" [(ngModel)]="collaborateur.referrerId"> |
||||
<option value="" disabled selected>Choisissez un référent pour le nouveau collaborateur</option> |
||||
<option *ngFor="let collaborateur of collaborateurs" [ngValue]="collaborateur.id">{{collaborateur.name}} {{collaborateur.firstName}}</option> |
||||
</select> |
||||
</div> |
||||
|
||||
<select name="businessunit" id="businessunit-select" [(ngModel)]="collaborateur.businessUnitId"> |
||||
<option value="">-- Choisissez la Business Unit pour le nouveau collaborateur --</option> |
||||
<div class="form-group col-12 col-md-6"> |
||||
<label class="form-label">Business Unit</label> |
||||
<select class="form-select" name="businessunit" id="businessunit-select" [(ngModel)]="collaborateur.businessUnitId"> |
||||
<option value="" disabled selected>Choisissez la Business Unit pour le nouveau collaborateur</option> |
||||
<option *ngFor="let businessunit of businessunits" [ngValue]="businessunit.id">{{businessunit.name}} </option> |
||||
</select> |
||||
</div> |
||||
</div> |
||||
|
||||
|
||||
<br/> |
||||
<span> |
||||
*Tous les champs sont obligatoires |
||||
</span> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div> |
||||
|
Loading…
Reference in new issue