get all customers corrected
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
@if (edit() == false) {
|
@if (edit() == false) {
|
||||||
<nz-card style="width:400px;" [nzActions]="[edit, delete]">
|
<nz-card style="width:400px;" [nzActions]="[edit, delete]">
|
||||||
<h2 style="text-align: center; font-weight: bold">Client n°{{ customer().id }}</h2>
|
<h2 style="text-align: center; font-weight: bold">Client n°{{ customer().id }}</h2>
|
||||||
<p>Note : {{ customer().note }}</p>
|
<p>Nom : {{ customer().note }}</p>
|
||||||
</nz-card>
|
</nz-card>
|
||||||
<ng-template #edit>
|
<ng-template #edit>
|
||||||
<nz-icon (click)="Edit()" nzType="edit" nzTheme="fill" />
|
<nz-icon (click)="Edit()" nzType="edit" nzTheme="fill" />
|
||||||
@@ -13,9 +13,9 @@
|
|||||||
<nz-card style="width:400px;" [nzActions]="[back, check]">
|
<nz-card style="width:400px;" [nzActions]="[back, check]">
|
||||||
<form nz-form nzLayout="horizontal" [formGroup]="customerForm">
|
<form nz-form nzLayout="horizontal" [formGroup]="customerForm">
|
||||||
<nz-form-item>
|
<nz-form-item>
|
||||||
<nz-form-label nzSpan="5" nzRequired> Note </nz-form-label>
|
<nz-form-label nzSpan="5" nzRequired> Nom </nz-form-label>
|
||||||
<nz-form-control nzSpan="22" nzErrorTip="Ce champ est requis !">
|
<nz-form-control nzSpan="22" nzErrorTip="Ce champ est requis !">
|
||||||
<input nz-input placeholder="Note" formControlName="note">
|
<input nz-input placeholder="Nom" formControlName="note">
|
||||||
</nz-form-control>
|
</nz-form-control>
|
||||||
</nz-form-item>
|
</nz-form-item>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
Reference in New Issue
Block a user