Files
2025-04-14 18:06:54 +02:00

51 lines
1.9 KiB
Plaintext

<div class="card shadow">
<div class="card-header bg-primary text-light">
<div class="d-flex justify-content-between">
<div class="px-0">
<h4>Composizione KIT</h4>
</div>
<div class="px-0">
<button @onclick="() => CleanupOld()" class="btn btn-danger btn-sm2"><i class="fa-solid fa-recycle"></i></button>
</div>
</div>
</div>
<div class="card-body p-1">
<div class="row">
<div class="col-12">
<table class="table table-sm table-striped small">
<thead>
<tr>
<th>Cod Ord.</th>
<th>Cod Art.</th>
<th>Descr. Art.</th>
<th>Qty</th>
<th>Data</th>
<th></th>
</tr>
</thead>
<tbody>
@foreach (var record in ListRecords)
{
<tr>
<td class="text-nowrap">@record.CodOrd</td>
<td>@record.CodArt</td>
<td>@record.DescArt</td>
<td>@record.Qta</td>
<td>@($"{record.DataIns:yyyy.MM.dd}") @($"{record.DataIns:HH:mm:ss}")</td>
<td>
<button @onclick="() => DoDelete(record)" class="btn btn-danger btn-sm"><i class="bi bi-trash-fill"></i></button>
</td>
</tr>
}
</tbody>
</table>
</div>
</div>
</div>
<div class="card-footer py-1 bg-primary text-light">
TempKey: <b>@KeyFilt</b>
</div>
</div>