Update x FIX ODL
This commit is contained in:
@@ -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">
|
||||
|
||||
@@ -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!;
|
||||
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user