53 lines
1.9 KiB
Plaintext
53 lines
1.9 KiB
Plaintext
@if (listItemByLoc != null)
|
|
{
|
|
<div class="card">
|
|
<div class="card-header bg-success text-light d-flex justify-content-between">
|
|
<div class="py-2">
|
|
SPOSTARE VERSO:
|
|
</div>
|
|
<div>
|
|
<select class="form-select" @bind="@id">
|
|
<option value=" ">--Selezionare una locazione--</option>
|
|
@if (ListLocationByType != null)
|
|
{
|
|
|
|
@foreach (var item in ListLocationByType)
|
|
{
|
|
<option value="@item.Id">@item.Descr</option>
|
|
}
|
|
}
|
|
</select>
|
|
</div>
|
|
<div> </div>
|
|
</div>
|
|
<div class="card-body">
|
|
<table class="table table-striped table-bordered small">
|
|
<thead>
|
|
<tr class="">
|
|
<th></th>
|
|
<th>Descr. Articolo</th>
|
|
<th>Giacenza</th>
|
|
<th>Valore Unit.</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach (var record in listItemByLoc)
|
|
{
|
|
<tr>
|
|
<td><button class="btn btn-sm btn-dark" @onclick="()=>selItemToDet(record.ItemId)"><i class="fa-solid fa-magnifying-glass"></i></button></td>
|
|
<td>
|
|
@record.ItemNav.Descr
|
|
</td>
|
|
<td>
|
|
@record.QtyConf
|
|
</td>
|
|
<td>
|
|
@($"{record.ItemNav.CurrValue:C2}")
|
|
</td>
|
|
</tr>
|
|
}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
} |