diff --git a/MP-TAB3/Components/FixOdl.razor b/MP-TAB3/Components/FixOdl.razor
index 49446214..7ba1eea2 100644
--- a/MP-TAB3/Components/FixOdl.razor
+++ b/MP-TAB3/Components/FixOdl.razor
@@ -1,5 +1,9 @@
-
+
@if (showFixOdl)
{
diff --git a/MP-TAB3/Components/FixOdl.razor.cs b/MP-TAB3/Components/FixOdl.razor.cs
index c2c73da4..de83ebde 100644
--- a/MP-TAB3/Components/FixOdl.razor.cs
+++ b/MP-TAB3/Components/FixOdl.razor.cs
@@ -8,6 +8,9 @@ namespace MP_TAB3.Components
{
#region Public Properties
+ [Parameter]
+ public EventCallback 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 ListComplete { get; set; } = new List();
protected List ListPaged { get; set; } = new List();
- [Parameter]
- public EventCallback E_RefreshData { get; set; }
-
[Inject]
protected MessageService MServ { get; set; } = null!;
diff --git a/MP-TAB3/Components/ScrapEditor.razor.cs b/MP-TAB3/Components/ScrapEditor.razor.cs
index 4e93f664..67aafd2b 100644
--- a/MP-TAB3/Components/ScrapEditor.razor.cs
+++ b/MP-TAB3/Components/ScrapEditor.razor.cs
@@ -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 listCauScarto { get; set; } = new List();
[Inject]