get all customers corrected

This commit is contained in:
2025-12-11 14:37:20 +01:00
parent 2ff47263a1
commit 20726f0530

View File

@@ -1,7 +1,7 @@
@if (edit() == false) {
<nz-card style="width:400px;" [nzActions]="[edit, delete]">
<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>
<ng-template #edit>
<nz-icon (click)="Edit()" nzType="edit" nzTheme="fill" />
@@ -13,9 +13,9 @@
<nz-card style="width:400px;" [nzActions]="[back, check]">
<form nz-form nzLayout="horizontal" [formGroup]="customerForm">
<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 !">
<input nz-input placeholder="Note" formControlName="note">
<input nz-input placeholder="Nom" formControlName="note">
</nz-form-control>
</nz-form-item>
</form>