update crud
This commit is contained in:
parent
9985b71c9f
commit
f6b10379b6
@ -46,28 +46,28 @@
|
|||||||
<td>
|
<td>
|
||||||
<p-tableCheckbox [value]="product"></p-tableCheckbox>
|
<p-tableCheckbox [value]="product"></p-tableCheckbox>
|
||||||
</td>
|
</td>
|
||||||
<td style="min-width:8rem;"><span class="p-column-title">Code</span>
|
<td style="width:14%; min-width:10rem;"><span class="p-column-title">Code</span>
|
||||||
{{product.code || product.id}}
|
{{product.code || product.id}}
|
||||||
</td>
|
</td>
|
||||||
<td style="min-width:10rem;">
|
<td style="width:14%; min-width:10rem;">
|
||||||
<span class="p-column-title">Name</span>
|
<span class="p-column-title">Name</span>
|
||||||
{{product.name}}
|
{{product.name}}
|
||||||
</td>
|
</td>
|
||||||
<td><span class="p-column-title">Image</span>
|
<td style="width:14%; min-width:10rem;"><span class="p-column-title">Image</span>
|
||||||
<img [src]="'assets/demo/images/product/' + product.image" [alt]="product.name" width="100" class="shadow-4" />
|
<img [src]="'assets/demo/images/product/' + product.image" [alt]="product.name" width="100" class="shadow-4" />
|
||||||
</td>
|
</td>
|
||||||
<td style="min-width:8rem;">
|
<td style="width:14%; min-width:8rem;">
|
||||||
<span class="p-column-title">Price</span>
|
<span class="p-column-title">Price</span>
|
||||||
{{product.price | currency:'USD'}}
|
{{product.price | currency:'USD'}}
|
||||||
</td>
|
</td>
|
||||||
<td style="min-width:10rem;">
|
<td style="width:14%; min-width:10rem;">
|
||||||
<span class="p-column-title">Category</span>
|
<span class="p-column-title">Category</span>
|
||||||
{{product.category}}
|
{{product.category}}
|
||||||
</td>
|
</td>
|
||||||
<td style="min-width: 10rem;"><span class="p-column-title">Reviews</span>
|
<td style="width:14%; min-width: 10rem;"><span class="p-column-title">Reviews</span>
|
||||||
<p-rating [ngModel]="product.rating" [readonly]="true" [cancel]="false"></p-rating>
|
<p-rating [ngModel]="product.rating" [readonly]="true" [cancel]="false"></p-rating>
|
||||||
</td>
|
</td>
|
||||||
<td><span class="p-column-title">Status</span>
|
<td style="width:14%; min-width: 10rem;"><span class="p-column-title">Status</span>
|
||||||
<span [class]="'product-badge status-' + (product.inventoryStatus ? product.inventoryStatus.toLowerCase() : '')">{{product.inventoryStatus}}</span>
|
<span [class]="'product-badge status-' + (product.inventoryStatus ? product.inventoryStatus.toLowerCase() : '')">{{product.inventoryStatus}}</span>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
|
Loading…
Reference in New Issue
Block a user