Files
StockMan/StockMan.CORE/Components/ItemList.razor
T
2023-02-13 17:07:52 +01:00

64 lines
1.7 KiB
Plaintext

@if (isLoading)
{
<LoadingData></LoadingData>
}
@if (ListRecord == null || ListRecord.Count == 0)
{
<b>nessun record</b>
}
else
{
<table class="table table-striped">
<thead>
<tr class="small">
<th>
</th>
<th>
COD. ARTICOLO
</th>
<th>
DESC. ARTICOLO
</th>
<th>
GIACENZA
</th>
<th>
VALORE UNIT.
</th>
<th>
</th>
</tr>
</thead>
<tbody>
@foreach (var item in ListRecord)
{
<tr class="small">
<td class="d-flex justify-content-center">
<button class="btnDet" @onclick="()=>selItemToDet(item.Id)"><i class="fa-solid fa-magnifying-glass-plus"></i></button>
</td>
<td>
@item.CodInt
</td>
<td style="width: 34rem;">
@item.Descr
</td>
<td>
<div>
@item.QtaBatch
</div>
</td>
<td>
@item.CurrValue
</td>
<td class="d-flex justify-content-center">
<button class="btnDup"><i class="fa-solid fa-magnifying-glass-plus"></i></button>
</td>
</tr>
}
</tbody>
</table>
}