59 lines
2.2 KiB
Plaintext
59 lines
2.2 KiB
Plaintext
@page "/controlli"
|
|
|
|
@using MP.Stats.Components
|
|
@using MP.Stats.Data
|
|
|
|
<div class="card">
|
|
<div class="card-header table-primary h1">Controlli</div>
|
|
<div class="card-body">
|
|
@if (currRecord != null)
|
|
{
|
|
@*<BasketEditor Basket="@currBasket" DataReset="ResetData" DataUpdated="UpdateData"></BasketEditor>*@
|
|
}
|
|
@if (ListRecords == null)
|
|
{
|
|
<div class="progress-bar progress-bar-striped progress-bar-animated" style="width:70%"></div>
|
|
}
|
|
else
|
|
{
|
|
<table class="table table-sm table-striped">
|
|
<thead>
|
|
<tr>
|
|
@*<th></th>*@
|
|
<th>Macchina</th>
|
|
<th>Data</th>
|
|
<th>ODL/Commessa</th>
|
|
<th>Articolo</th>
|
|
<th>Esito</th>
|
|
<th>Note</th>
|
|
<th>Operatore</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach (var record in ListRecords)
|
|
{
|
|
<tr class="@checkSelect(@record.IdxControllo)">
|
|
@*<td><button class="btn btn-sm btn-info" @onclick="() => Edit(record)"><span class="oi oi-pencil"></span></button> <button class="btn btn-sm btn-success" @onclick="() => ShowDocs(record)" title="Vai ai documenti"><span class="oi oi-document"></span></button></td>*@
|
|
<td>@record.IdxMacchina</td>
|
|
<td>@record.DataOra</td>
|
|
<td>@record.IdxOdl</td>
|
|
<td>@record.CodArticolo</td>
|
|
<td>@record.EsitoOk</td>
|
|
<td>@record.Note</td>
|
|
<td>@record.MatrOpr</td>
|
|
</tr>
|
|
}
|
|
</tbody>
|
|
</table>
|
|
}
|
|
</div>
|
|
<div class="card-footer py-1">
|
|
<div class="row">
|
|
<div class="col-8 col-lg-10">
|
|
</div>
|
|
<div class="col-4 col-lg-2">
|
|
<DataPager numRecord="@numRecord" numRecordChanged="ForceReload" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div> |