Contact PT1

This commit is contained in:
2026-05-28 16:06:02 +02:00
parent b1af1eb5e4
commit 67870e19ea
14 changed files with 252 additions and 31 deletions
@@ -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>Nom : {{ customer().note }}</p>
<p>Note : {{ customer().note }}</p>
</nz-card>
<ng-template #edit>
<nz-icon (click)="Edit()" nzType="edit" nzTheme="fill" />
@@ -13,7 +13,7 @@
<nz-card style="width:400px;" [nzActions]="[back, check]">
<form nz-form nzLayout="horizontal" [formGroup]="customerForm">
<nz-form-item>
<nz-form-label nzSpan="5" nzRequired> Nom </nz-form-label>
<nz-form-label nzSpan="5" nzRequired> Note </nz-form-label>
<nz-form-control nzSpan="22" nzErrorTip="Ce champ est requis !">
<input nz-input placeholder="Nom" formControlName="note">
</nz-form-control>