76 lines
2.3 KiB
Plaintext
76 lines
2.3 KiB
Plaintext
|
|
<table class="table table-striped table-sm">
|
|
<thead>
|
|
<tr>
|
|
<th>
|
|
@if (!string.IsNullOrEmpty(BatchSel))
|
|
{
|
|
<button @onclick="() => resetSel()" title="Click per Reset" class="btn btn-info btn-sm"><i class="bi bi-arrow-counterclockwise"></i></button>
|
|
}
|
|
else
|
|
{
|
|
<span>#</span>
|
|
}
|
|
</th>
|
|
<th>
|
|
Lotto
|
|
</th>
|
|
<th>Prodotto</th>
|
|
<th>Tipo</th>
|
|
<th>Fornitore</th>
|
|
<th>Data rif.</th>
|
|
<th>Rif.</th>
|
|
<th class="text-end">Qty</th>
|
|
<th class="text-end">Num Pack</th>
|
|
<th class="text-end">Note</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@if (elencoGiacenze != null)
|
|
{
|
|
@foreach (var item in elencoGiacenze)
|
|
{
|
|
<tr class="@checkSelect(item)">
|
|
|
|
<td class="fw-bold">
|
|
@item.IdxRG
|
|
</td>
|
|
<td class="small textConsensed">
|
|
<div class="d-flex justify-content-between">
|
|
<span>@item.IdentRG</span>
|
|
<button class="btn btn-sm btn-primary" @onclick="() => saveSel(item.IdentRG)"><i class="fa-solid fa-arrow-right"></i></button>
|
|
</div>
|
|
</td>
|
|
|
|
<td>
|
|
@item.Product
|
|
</td>
|
|
|
|
<td>
|
|
@item.Variety
|
|
</td>
|
|
<td>
|
|
@item.Supplier
|
|
</td>
|
|
<td>
|
|
@($"{item.DateRif:yyyy-MM-dd}")
|
|
</td>
|
|
<td>
|
|
@item.ExtDoc
|
|
</td>
|
|
<td class="text-end">
|
|
@item.QtyTot
|
|
</td>
|
|
<td class="text-end">
|
|
@item.NumPack
|
|
</td>
|
|
<td class="text-end">
|
|
@item.Notes
|
|
</td>
|
|
</tr>
|
|
|
|
}
|
|
}
|
|
</tbody>
|
|
</table>
|