get all customers done
This commit is contained in:
@@ -2,14 +2,8 @@
|
||||
<div nz-row [nzGutter]="10" style="gap: 30px">
|
||||
@for (customer of customers(); track customer.id)
|
||||
{
|
||||
<nz-card style="width:400px;">
|
||||
<h2 style="text-align: center; font-weight: bold">Utilisateur n°{{ customer.id }}</h2>
|
||||
<p>Nom/Prénom : {{ customer.name }} {{ customer.firstName }}</p>
|
||||
<p>Téléphone : {{ customer.phone }}</p>
|
||||
<p>Email : {{ customer.email }}</p>
|
||||
<p>Adresse : {{ customer.address }}</p>
|
||||
<p>Note : {{ customer.note }}</p>
|
||||
</nz-card>
|
||||
<!-- Passage de la donnée du parent vers l'enfant + signal à émettre -->
|
||||
<app-get-all-customers-card [customer]="customer" (triggerEdited)="fetchCustomers()" />
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user