ajout du niveau d'experience
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
<nz-card style="width:400px;" [nzActions]="[edit, delete]">
|
||||
<h2 style="text-align: center; font-weight: bold">Prestataire n°{{ provider().id }}</h2>
|
||||
<p>Prix : {{ provider().price }}</p>
|
||||
<p>Type de Prestataire : {{ provider().providerType }}</p>
|
||||
</nz-card>
|
||||
<ng-template #edit>
|
||||
<nz-icon (click)="Edit()" nzType="edit" nzTheme="fill" />
|
||||
@@ -15,7 +16,7 @@
|
||||
<nz-form-item>
|
||||
<nz-form-label nzSpan="5" nzRequired> Prix </nz-form-label>
|
||||
<nz-form-control nzSpan="22" nzErrorTip="Ce champ est requis !">
|
||||
<input nz-input placeholder="Nom" formControlName="note">
|
||||
<input nz-input placeholder="Nom" formControlName="price">
|
||||
</nz-form-control>
|
||||
</nz-form-item>
|
||||
</form>
|
||||
|
||||
@@ -56,7 +56,7 @@ class StaffAddForm {
|
||||
profession: profession,
|
||||
email: email,
|
||||
f4T2NumberApproval: f4t2number,
|
||||
f4T2ExpirationDate: f4t2expiration instanceof Date ? f4t2expiration.toISOString().split('T')[0] : f4t2expiration
|
||||
f4T2ExpirationDate: f4t2expiration instanceof Date ? f4t2expiration : new Date(f4t2expiration)
|
||||
}
|
||||
|
||||
try {
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
<p>Email : {{ staff().email }}</p>
|
||||
<p>N° F4T2 : {{ staff().f4T2NumberApproval }}</p>
|
||||
<p>Expiration F4T2 : {{ staff().f4T2ExpirationDate }}</p>
|
||||
<p> Niveau d'experience : {{ staff().experienceLevel}}</p>
|
||||
</nz-card>
|
||||
<ng-template #edit>
|
||||
<nz-icon (click)="Edit()" nzType="edit" nzTheme="fill" />
|
||||
|
||||
@@ -11,5 +11,6 @@
|
||||
|
||||
export interface CreateExperienceLevelDto {
|
||||
label?: string | null;
|
||||
staffId?: number | null;
|
||||
}
|
||||
|
||||
|
||||
@@ -12,5 +12,6 @@
|
||||
export interface CreateHistoryOfApprovalDto {
|
||||
deliveryDate?: string;
|
||||
expirationDate?: string;
|
||||
staffId?: number;
|
||||
}
|
||||
|
||||
|
||||
@@ -15,6 +15,6 @@ export interface CreateStaffDto {
|
||||
profession?: string | null;
|
||||
email?: string | null;
|
||||
f4T2NumberApproval?: string | null;
|
||||
f4T2ExpirationDate?: string;
|
||||
f4T2ExpirationDate?: Date | null;
|
||||
}
|
||||
|
||||
|
||||
@@ -12,5 +12,6 @@
|
||||
export interface GetExperienceLevelDto {
|
||||
id?: number;
|
||||
label?: string | null;
|
||||
staffId?: number | null;
|
||||
}
|
||||
|
||||
|
||||
@@ -13,5 +13,6 @@ export interface GetHistoryOfApprovalDto {
|
||||
id?: number;
|
||||
deliveryDate?: string;
|
||||
expirationDate?: string;
|
||||
staffId?: number;
|
||||
}
|
||||
|
||||
|
||||
@@ -13,5 +13,6 @@ export interface GetProviderDto {
|
||||
id?: number;
|
||||
price?: number;
|
||||
providerTypeId?: number;
|
||||
providerType?: string | null;
|
||||
}
|
||||
|
||||
|
||||
@@ -17,5 +17,6 @@ export interface GetStaffDto {
|
||||
email?: string | null;
|
||||
f4T2NumberApproval?: string | null;
|
||||
f4T2ExpirationDate?: Date | null;
|
||||
experienceLevel?: string | null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user