Update x FIX ODL

This commit is contained in:
Samuele Locatelli
2025-02-19 10:02:38 +01:00
parent 538e347923
commit b3f2029fff
3 changed files with 25 additions and 9 deletions
+5 -1
View File
@@ -1,5 +1,9 @@
<button class="btn btn-warning w-100" @onclick="toggleFixOdl"><i class="fa fa-check"></i> @txtBtnFixOdl</button>
<button class="btn @btnCss w-100" @onclick="toggleFixOdl">
<i class="fa fa-check pe-1"></i>
<span class="fs-4 fw-bold">@txtBtnFixOdl</span>
<i class="fa @faCss ps-1"></i>
</button>
@if (showFixOdl)
{
<div class="row">
+13 -3
View File
@@ -8,6 +8,9 @@ namespace MP_TAB3.Components
{
#region Public Properties
[Parameter]
public EventCallback<bool> E_RefreshData { get; set; }
[Parameter]
public string IdxMaccCurr { get; set; } = "";
@@ -24,12 +27,19 @@ namespace MP_TAB3.Components
#region Protected Properties
protected string btnCss
{
get => showFixOdl ? "bg-dark border-warning border-2 text-light" : "btn-warning";
}
protected string faCss
{
get => showFixOdl ? "fa-chevron-up" : "fa-chevron-down";
}
protected List<ODLModel> ListComplete { get; set; } = new List<ODLModel>();
protected List<ODLModel> ListPaged { get; set; } = new List<ODLModel>();
[Parameter]
public EventCallback<bool> E_RefreshData { get; set; }
[Inject]
protected MessageService MServ { get; set; } = null!;
+7 -5
View File
@@ -19,6 +19,11 @@ namespace MP_TAB3.Components
#region Protected Properties
protected string btnCss
{
get => ShowDetail ? "bt-dark border-primary border-2" : "btn-primary";
}
protected DateTime DateSel
{
get => dateSel.Round(TimeSpan.FromSeconds(1));
@@ -31,16 +36,13 @@ namespace MP_TAB3.Components
}
}
protected string errMsg { get; set; } = "";
protected string faCss
{
get => ShowDetail ? "fa-chevron-up" : "fa-chevron-down";
}
protected string btnCss
{
get => ShowDetail ? "bt-dark border-primary border-2" : "btn-primary";
}
protected string errMsg { get; set; } = "";
protected List<vSelCauScartoModel> listCauScarto { get; set; } = new List<vSelCauScartoModel>();
[Inject]