parent
70456c291f
commit
506db1744b
@ -1,25 +0,0 @@ |
||||
import { ComponentFixture, TestBed } from '@angular/core/testing'; |
||||
|
||||
import { CollaborateurDetailComponent } from './collaborateur-detail.component'; |
||||
|
||||
describe('CollaborateurDetailComponent', () => { |
||||
let component: CollaborateurDetailComponent; |
||||
let fixture: ComponentFixture<CollaborateurDetailComponent>; |
||||
|
||||
beforeEach(async () => { |
||||
await TestBed.configureTestingModule({ |
||||
declarations: [ CollaborateurDetailComponent ] |
||||
}) |
||||
.compileComponents(); |
||||
}); |
||||
|
||||
beforeEach(() => { |
||||
fixture = TestBed.createComponent(CollaborateurDetailComponent); |
||||
component = fixture.componentInstance; |
||||
fixture.detectChanges(); |
||||
}); |
||||
|
||||
it('should create', () => { |
||||
expect(component).toBeTruthy(); |
||||
}); |
||||
}); |
@ -1,50 +1,50 @@ |
||||
|
||||
<div *ngIf="collaborateur"> |
||||
|
||||
<h2>{{collaborateur.name | uppercase}} Details</h2> |
||||
<h2>{{collaborateur.name | uppercase}} {{collaborateur.firstName | uppercase}} </h2> |
||||
<div><span>id : </span>{{collaborateur.id}}</div> |
||||
<div> |
||||
<label class="col-3" for="collaborateur-name">Collaborateur name </label> |
||||
<label class="col-2" for="collaborateur-name">Collaborateur name </label> |
||||
<input id="collaborateur-name" [(ngModel)]="collaborateur.name" placeholder="name"> |
||||
|
||||
<label class="col-3" for="collaborateur-firstName">Collaborateur firstname </label> |
||||
<label class="col-2" for="collaborateur-firstName">Collaborateur firstname </label> |
||||
<input id="collaborateur-firstName" [(ngModel)]="collaborateur.firstName" placeholder="firstname"> |
||||
|
||||
<label class="col-3" for="collaborateur-birthDate">Collaborateur birthDate </label> |
||||
<label class="col-2" for="collaborateur-birthDate">Collaborateur birthDate </label> |
||||
<input id="collaborateur-birthDate" [(ngModel)]="collaborateur.birthDate" placeholder="birthDate"> |
||||
|
||||
<label class="col-3" for="collaborateur-gender">Collaborateur gender </label> |
||||
<label class="col-2" for="collaborateur-gender">Collaborateur gender </label> |
||||
<input id="collaborateur-gender" [(ngModel)]="collaborateur.gender" placeholder="gender"> |
||||
|
||||
<label class="col-3" for="collaborateur-status">Collaborateur status </label> |
||||
<label class="col-2" for="collaborateur-status">Collaborateur status </label> |
||||
<input id="collaborateur-status" [(ngModel)]="collaborateur.status" placeholder="status"> |
||||
|
||||
<label class="col-3" for="collaborateur-childrenNumber">Collaborateur childrenNumber </label> |
||||
<label class="col-2" for="collaborateur-childrenNumber">Collaborateur childrenNumber </label> |
||||
<input id="collaborateur-childrenNumber" [(ngModel)]="collaborateur.childrenNumber" placeholder="childrenNumber"> |
||||
|
||||
<label class="col-3" for="collaborateur-address">Collaborateur address </label> |
||||
<label class="col-2" for="collaborateur-address">Collaborateur address </label> |
||||
<input id="collaborateur-address" [(ngModel)]="collaborateur.address" placeholder="address"> |
||||
|
||||
<label class="col-3" for="collaborateur-telephone">Collaborateur telephone </label> |
||||
<label class="col-2" for="collaborateur-telephone">Collaborateur telephone </label> |
||||
<input id="collaborateur-telephone" [(ngModel)]="collaborateur.telephone" placeholder="telephone"> |
||||
|
||||
<label class="col-3" for="collaborateur-personalMail">Collaborateur personalMail </label> |
||||
<label class="col-2" for="collaborateur-personalMail">Collaborateur personalMail </label> |
||||
<input id="collaborateur-personalMail" [(ngModel)]="collaborateur.personalMail" placeholder="personalMail"> |
||||
|
||||
<label class="col-3" for="collaborateur-apsideMail">Collaborateur apsideMail </label> |
||||
<label class="col-2" for="collaborateur-apsideMail">Collaborateur apsideMail </label> |
||||
<input id="collaborateur-apsideMail" [(ngModel)]="collaborateur.apsideMail" placeholder="apsideMail"> |
||||
|
||||
<label class="col-3" for="collaborateur-resignationDate">Collaborateur resignationDate </label> |
||||
<label class="col-2" for="collaborateur-resignationDate">Collaborateur resignationDate </label> |
||||
<input id="collaborateur-resignationDate" [(ngModel)]="collaborateur.resignationDate" placeholder="resignationDate"> |
||||
|
||||
<label class="col-3" for="collaborateur-referrerId">Collaborateur referrerId </label> |
||||
<label class="col-2" for="collaborateur-referrerId">Collaborateur referrerId </label> |
||||
<input id="collaborateur-referrerId" [(ngModel)]="collaborateur.referrerId" placeholder="referrerId"> |
||||
|
||||
<label class="col-3" for="collaborateur-businessUnitId">Collaborateur businessUnitId </label> |
||||
<label class="col-2" for="collaborateur-businessUnitId">Collaborateur businessUnitId </label> |
||||
<input id="collaborateur-businessUnitId" [(ngModel)]="collaborateur.businessUnitId" placeholder="businessUnitId"> |
||||
</div> |
||||
|
||||
<button (click)="goBack()">Retour</button> |
||||
<button (click)="save()">sauvegarder les changements</button> |
||||
<button (click)="save()">Sauvegarder les changements</button> |
||||
<button (click)="delete()">Supprimer le collaborateur</button> |
||||
</div> |
@ -0,0 +1,25 @@ |
||||
import { ComponentFixture, TestBed } from '@angular/core/testing'; |
||||
|
||||
import { CollaborateurEditComponent } from './collaborateur-edit.component'; |
||||
|
||||
describe('CollaborateurEditComponent', () => { |
||||
let component: CollaborateurEditComponent; |
||||
let fixture: ComponentFixture<CollaborateurEditComponent>; |
||||
|
||||
beforeEach(async () => { |
||||
await TestBed.configureTestingModule({ |
||||
declarations: [ CollaborateurEditComponent ] |
||||
}) |
||||
.compileComponents(); |
||||
}); |
||||
|
||||
beforeEach(() => { |
||||
fixture = TestBed.createComponent(CollaborateurEditComponent); |
||||
component = fixture.componentInstance; |
||||
fixture.detectChanges(); |
||||
}); |
||||
|
||||
it('should create', () => { |
||||
expect(component).toBeTruthy(); |
||||
}); |
||||
}); |
After Width: | Height: | Size: 40 KiB |
Loading…
Reference in new issue