fixed errors of price view in supplier page
This commit is contained in:
@@ -20,27 +20,27 @@
|
||||
<td>{{ supplier.name }}</td>
|
||||
<td>{{ supplier.phone }}</td>
|
||||
<td>{{ supplier.email }}</td>
|
||||
<td>{{ supplier.address}}</td>
|
||||
<td>{{ supplier.zipCode}}</td>
|
||||
<td>{{ supplier.city}}</td>
|
||||
<td>{{ supplier.deliveryDelay}} jours</td>
|
||||
<td>{{ supplier.address }}</td>
|
||||
<td>{{ supplier.zipCode }}</td>
|
||||
<td>{{ supplier.city }}</td>
|
||||
<td>{{ supplier.deliveryDelay }} jours</td>
|
||||
<td>
|
||||
<app-modal-button type="link" [name]="'Voir les produits'">
|
||||
<nz-table [nzData]="supplier.products" [nzFrontPagination]="false">
|
||||
<nz-table [nzData]="suppliers()"
|
||||
[nzFrontPagination]="false">
|
||||
<thead>
|
||||
<tr style="text-align: center">
|
||||
<th>Produits</th>
|
||||
<th>Nom</th>
|
||||
<th>Produit</th>
|
||||
<th>Référence</th>
|
||||
<th>Prix</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody style="text-align: center">
|
||||
@for (product of supplier.products; track product.id) {
|
||||
@for (product of supplier.prices; track product.id) {
|
||||
<tr>
|
||||
<td>{{ product.name }}</td>
|
||||
<td>{{ product.references }}</td>
|
||||
<td>Price ???</td>
|
||||
<td>{{ product.productName }}</td>
|
||||
<td>{{ product.productReferences }}</td>
|
||||
<td>{{ product.sellingPrice }}€</td>
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
|
||||
Reference in New Issue
Block a user