000543148a
- fix grafici flow moduli KIT
97 lines
4.4 KiB
Plaintext
97 lines
4.4 KiB
Plaintext
<div class="card shadow">
|
|
<div class="card-header bg-danger text-light">
|
|
<div class="d-flex justify-content-between">
|
|
<div class="px-0">
|
|
<h4>KIT e Promesse</h4>
|
|
</div>
|
|
<div class="px-0">
|
|
Attenzione: non associare OPR a più KIT!
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="card-body">
|
|
<b>Elenco KIT associati ad ordini</b>
|
|
@if (ListRecords == null)
|
|
{
|
|
<LoadingData></LoadingData>
|
|
}
|
|
else if (totalCount == 0)
|
|
{
|
|
<div class="alert alert-warning text-center display-4">
|
|
Nessun record trovato
|
|
</div>
|
|
}
|
|
else
|
|
{
|
|
<div class="row">
|
|
<div class="col-12">
|
|
<table class="table table-sm table-striped small">
|
|
<thead>
|
|
<tr>
|
|
<th>
|
|
@if (EditRecord != null)
|
|
{
|
|
<button @onclick="() => ResetSel()" class="btn btn-primary btn-sm"><i class="bi bi-arrow-counterclockwise"></i></button>
|
|
}
|
|
</th>
|
|
<th><i class="fa-solid fa-object-group"></i> Kit Istanza</th>
|
|
<th><i class="fa-solid fa-file-invoice"></i> Cod Ext</th>
|
|
<th><i class="fa-solid fa-sitemap"></i> Cod Kit (Parent)</th>
|
|
<th><i class="fa-solid fa-file"></i> Articolo (Child)</th>
|
|
<th><i class="fa-solid fa-hashtag"></i> Qty Kit</th>
|
|
<th><i class="fa-solid fa-hashtag"></i> Qty Art</th>
|
|
<th></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach (var record in ListRecords)
|
|
{
|
|
<tr class="@checkSelect(record)">
|
|
<td>
|
|
<button @onclick="() => SelRecord(record)" class="btn btn-primary btn-sm" title="Seleziona Record"><i class="bi bi-search"></i></button>
|
|
</td>
|
|
<td>
|
|
<div>@record.KeyKit</div>
|
|
</td>
|
|
<td>
|
|
<div>@record.KeyExtOrd</div>
|
|
</td>
|
|
<td>
|
|
<div>@record.CodArtParent</div>
|
|
</td>
|
|
<td>
|
|
<div>@record.CodArtChild</div>
|
|
</td>
|
|
<td>
|
|
<div>@record.QtyKIT</div>
|
|
</td>
|
|
<td>
|
|
<div>@record.QtyART</div>
|
|
</td>
|
|
<td>
|
|
@if (DelEnabled(record))
|
|
{
|
|
<button @onclick="() => DoDelete(record)" class="btn btn-danger btn-sm"><i class="bi bi-trash-fill"></i></button>
|
|
}
|
|
else
|
|
{
|
|
<button class="btn btn-secondary disabled btn-sm"><i class="bi bi-trash-fill"></i></button>
|
|
}
|
|
</td>
|
|
</tr>
|
|
}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
}
|
|
</div>
|
|
<div class="card-footer py-1 bg-danger text-light">
|
|
@if (totalCount > numRecord)
|
|
{
|
|
<DataPager PageSize="numRecord" currPage="currPage" numRecordChanged="SetNumRec" numPageChanged="SetNumPage" totalCount="totalCount" showLoading="isLoading" />
|
|
}
|
|
</div>
|
|
</div>
|
|
|