diff --git a/MP-TAB3/Components/CheckControls.razor b/MP-TAB3/Components/CheckControls.razor index 76661887..fd3c1d5a 100644 --- a/MP-TAB3/Components/CheckControls.razor +++ b/MP-TAB3/Components/CheckControls.razor @@ -1,8 +1,8 @@ @if (ShowInsFermata) { - + } @if (ShowReqControls) { - + } \ No newline at end of file diff --git a/MP-TAB3/Components/DeclarEditor.razor.cs b/MP-TAB3/Components/DeclarEditor.razor.cs index 749baa40..5f12463c 100644 --- a/MP-TAB3/Components/DeclarEditor.razor.cs +++ b/MP-TAB3/Components/DeclarEditor.razor.cs @@ -34,6 +34,11 @@ namespace MP_TAB3.Components #region Protected Properties + protected string btnCss + { + get => ShowDetail ? "bt-dark text-primary border-primary border-2" : "btn-primary"; + } + protected string BtnCss { get => IsNewRec ? "btn btn-success" : "btn btn-primary"; @@ -56,6 +61,11 @@ namespace MP_TAB3.Components } } + protected string faCss + { + get => ShowDetail ? "fa-chevron-up" : "fa-chevron-down"; + } + protected List ListComplete { get; set; } = new List(); [Inject] @@ -124,17 +134,6 @@ namespace MP_TAB3.Components await E_Updated.InvokeAsync(true); } - - protected string faCss - { - get => ShowDetail ? "fa-chevron-up" : "fa-chevron-down"; - } - protected string btnCss - { - get => ShowDetail ? "bt-dark text-primary border-primary border-2" : "btn-primary"; - } - - protected override async Task OnInitializedAsync() { currRec = new RegistroDichiarazioniModel() diff --git a/MP-TAB3/Components/PrintMag.razor b/MP-TAB3/Components/PrintMag.razor index 7706c43a..4e96cc4c 100644 --- a/MP-TAB3/Components/PrintMag.razor +++ b/MP-TAB3/Components/PrintMag.razor @@ -1,5 +1,5 @@  diff --git a/MP-TAB3/Components/ProdConfirm.razor b/MP-TAB3/Components/ProdConfirm.razor index c8253aec..fc3ba1cd 100644 --- a/MP-TAB3/Components/ProdConfirm.razor +++ b/MP-TAB3/Components/ProdConfirm.razor @@ -116,8 +116,6 @@ - - }
@@ -197,10 +195,10 @@ { } diff --git a/MP-TAB3/Components/ScrapEditor.razor b/MP-TAB3/Components/ScrapEditor.razor index 83329c7d..2047ea51 100644 --- a/MP-TAB3/Components/ScrapEditor.razor +++ b/MP-TAB3/Components/ScrapEditor.razor @@ -1,10 +1,10 @@ 
-
diff --git a/MP-TAB3/Components/ScrapEditor.razor.cs b/MP-TAB3/Components/ScrapEditor.razor.cs index 466cd2c4..4e93f664 100644 --- a/MP-TAB3/Components/ScrapEditor.razor.cs +++ b/MP-TAB3/Components/ScrapEditor.razor.cs @@ -31,6 +31,15 @@ namespace MP_TAB3.Components } } + + 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(); @@ -179,7 +188,7 @@ namespace MP_TAB3.Components private int numPz { get; set; } = 1; - private bool ShowDetail { get; set; } = true; + private bool ShowDetail { get; set; } = false; private string userComment { get; set; } = "";