38 lines
1.3 KiB
Plaintext
38 lines
1.3 KiB
Plaintext
@inherits BaseComp
|
|
|
|
@if (AllRecords == null)
|
|
{
|
|
<LoadingData></LoadingData>
|
|
}
|
|
else
|
|
{
|
|
if (AllRecords.Count == 0)
|
|
{
|
|
<div class="alert alert-warning">@Traduci("noRecord")</div>
|
|
}
|
|
else
|
|
{
|
|
<div class="d-flex w-100 justify-content-between align-items-center pb-2">
|
|
<h5 class="ps-1"><b>Ordini disponibili</b></h5>
|
|
<div class="d-flex align-items-center gap-2 px-0">
|
|
<button class="btn btn-primary border-0" @onclick="ToggleDetail">
|
|
<i class="fa-solid @CssDetail"></i> @ButtonEspandi()
|
|
</button>
|
|
<button class="btn btn-primary bg-primary bg-opacity-75 border-0" @onclick="SendAllAsync">
|
|
@Traduci("caricoMac_inviaTutti")
|
|
<i class="fa-solid fa-angles-right"></i>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
@foreach (var estimPOR in AllRecords)
|
|
{
|
|
<div class="col-12 col-lg-6">
|
|
<EstPorDetail CurrPOR="@estimPOR" EC_DoBalance="DoBalance" ShowDetail="showDetail"></EstPorDetail>
|
|
</div>
|
|
}
|
|
</div>
|
|
}
|
|
}
|
|
|
|
<BootstrapModal @ref=Modal Title=@mTitle Message=@mMessage Mode="mMode" UserOptions=@modalOpt></BootstrapModal> |