Completata prima release display PODL in testata

This commit is contained in:
Samuele Locatelli
2025-02-18 19:07:27 +01:00
parent 0aad875551
commit b8b3a58b52
3 changed files with 15 additions and 12 deletions
+1 -1
View File
@@ -12,7 +12,7 @@
<label class="form-check-label">@txtShowXDL</label>
<input class="form-check-input" type="checkbox" @bind="@showPOdlData">
</div>
@if (!InAttr)
@if (!InAttr && ShowClose)
{
<div>
<button class="btn btn-dark w-100" @onclick="ToggleOdlDetail"><i class="fa-solid fa-chevron-up"></i> @txtBtnOdlDetail</button>
@@ -29,6 +29,8 @@ namespace MP_TAB3.Components
[Parameter]
public bool InAttr { get; set; }
[Parameter]
public bool ShowClose { get; set; } = true;
[Parameter]
public bool ShowOdlDetail { get; set; }
+12 -11
View File
@@ -187,33 +187,34 @@ else
</div>
<div class="col-4 fs-4">
<div class="lh-1">
<div class="text-end text-light fw-bold d-flex justify-content-between">
<div class="px-0">
Cicli Prod.
@* <i class="fa-solid fa-layer-group"></i> *@
</div>
<div class="px-0">@($"{RecMSE.PezziProd}")</div>
</div>
<div class="text-end text-success d-flex justify-content-between">
<div class="px-0">
Confermati
Conf Buoni
@* <i class="fa-regular fa-circle-check"></i> *@
</div>
<div class="px-0">
@($"{RecMSE.PezziConf}")
@($"{datiProdAct.PzConfBuoni}")
@* @($"{RecMSE.PezziConf}") *@
</div>
</div>
@if (datiProdAct != null && datiProdAct.PzConfScarto > 0)
{
<div class="text-end text-danger d-flex justify-content-between">
<div class="px-0">
Scarto Conf
Conf Scarti
</div>
<div class="px-0">
@($"- {datiProdAct.PzConfScarto}")
</div>
</div>
}
<div class="text-end text-warning d-flex justify-content-between">
<div class="px-0">
Prodotti
@* <i class="fa-solid fa-layer-group"></i> *@
</div>
<div class="px-0">@($"{RecMSE.PezziProd}")</div>
</div>
@if (RecMSE.extraVal > 0)
{
<div class="text-end text-primary d-flex justify-content-between">
@@ -307,5 +308,5 @@ else
}
@if (showPodl && RecMSE != null)
{
<CurrOdlDetail CurrOdl="@currOdl" CurrPodl="@currPodl" IdxPOdlSel="@(RecMSE.IdxPOdl??0)" ShowOdlDetail="@showOdlDetail" ForceCloseOdl="@forceCloseOdl" InAttr="@inAttr" EC_ToggleOdlDetail="TogglePOdl"></CurrOdlDetail>
<CurrOdlDetail CurrOdl="@currOdl" CurrPodl="@currPodl" IdxPOdlSel="0" ShowOdlDetail="@showOdlDetail" ForceCloseOdl="@forceCloseOdl" InAttr="@inAttr" EC_ToggleOdlDetail="TogglePOdl"></CurrOdlDetail>
}