66 lines
2.3 KiB
Plaintext
66 lines
2.3 KiB
Plaintext
@if (isLoading)
|
|
{
|
|
<LoadingData></LoadingData>
|
|
}
|
|
else
|
|
{
|
|
|
|
@if (currStock != null)
|
|
{
|
|
<div class="d-flex justify-content-between">
|
|
<div>
|
|
confermare di voler trasferire
|
|
</div>
|
|
<div>
|
|
<input class="form-input" @bind="@qty" />
|
|
</div>
|
|
<div>
|
|
<button class="btn btn-sm btn-success" @onclick="()=>Move()">Conferma</button>
|
|
</div>
|
|
<div>
|
|
<button class="btn btn-sm btn-danger">Annulla</button>
|
|
</div>
|
|
</div>
|
|
}
|
|
<table class="table table-striped table-bordered small">
|
|
<thead>
|
|
<tr class="">
|
|
<th></th>
|
|
<th>Descr. Articolo</th>
|
|
<th>Giacenza</th>
|
|
<th>Valore Unit.</th>
|
|
@if (isSX)
|
|
{
|
|
<th></th>
|
|
}
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@if (listItemByLoc != null)
|
|
{
|
|
@foreach (var item in listItemByLoc)
|
|
{
|
|
<tr>
|
|
<td><button class="btn btn-sm btn-dark" @onclick="()=>selItemToDet(item.ItemNav.Id)"><i class="fa-solid fa-magnifying-glass"></i></button></td>
|
|
<td>
|
|
@item.ItemNav.Descr
|
|
</td>
|
|
<td>
|
|
@item.QtyConf
|
|
</td>
|
|
<td>
|
|
@($"{item.ItemNav.CurrValue:C2}")
|
|
</td>@if (isSX)
|
|
{
|
|
<td><button class="btn btn-sm btn-info text-nowrap" @onclick="()=>SetMove(item)">Sposta <i class="fa-solid fa-arrow-right"></i></button></td>
|
|
}
|
|
</tr>
|
|
}
|
|
}
|
|
</tbody>
|
|
</table>
|
|
|
|
|
|
}
|
|
|