modif inStock
This commit is contained in:
parent
2d808feb25
commit
19d48cc995
@ -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,
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user