modif inStock

This commit is contained in:
Vincent Ramiere 2022-03-22 09:44:39 +01:00
parent 2d808feb25
commit 19d48cc995
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ export class Plant {
public name: string='', public name: string='',
public price: number =1, public price: number =1,
public quantity: number= 0, public quantity: number= 0,
public instock: boolean= true, public inStock: boolean= true,
public category:Category, public category:Category,
public urlPicture: string = "https//picsum.photos/id/18/200/300", public urlPicture: string = "https//picsum.photos/id/18/200/300",
public rating: number = 0, public rating: number = 0,

View File

@ -19,7 +19,7 @@
<td>{{products.name}}</td> <td>{{products.name}}</td>
<td>{{products.price}}</td> <td>{{products.price}}</td>
<td>{{products.quantity}}</td> <td>{{products.quantity}}</td>
<td>{{products.instock}}</td> <td>{{products.inStock}}</td>
<!-- <td>{{products.Catégorie.}}</td> --> <!-- <td>{{products.Catégorie.}}</td> -->
<td>{{products.rating}}</td> <td>{{products.rating}}</td>
<td><a class="bi-pencil-square" routerLink="../modifier"></a></td> <td><a class="bi-pencil-square" routerLink="../modifier"></a></td>