diff --git a/MP-ADM/WebUserControls/cmp_PODL_OUT.ascx b/MP-ADM/WebUserControls/cmp_PODL_OUT.ascx index 3f9371be..72a8caa4 100644 --- a/MP-ADM/WebUserControls/cmp_PODL_OUT.ascx +++ b/MP-ADM/WebUserControls/cmp_PODL_OUT.ascx @@ -53,24 +53,14 @@ - - - - - - - - - -
- +
- +
@@ -84,14 +74,14 @@
- +
cod. - +
- +
@@ -99,14 +89,19 @@ - + - + + + + + + @@ -119,10 +114,10 @@
- - - - + + + +
@@ -130,7 +125,7 @@
- + <%-- diff --git a/MP-ADM/WebUserControls/cmp_PODL_OUT.ascx.cs b/MP-ADM/WebUserControls/cmp_PODL_OUT.ascx.cs index 1a9c0d4b..7eccd990 100644 --- a/MP-ADM/WebUserControls/cmp_PODL_OUT.ascx.cs +++ b/MP-ADM/WebUserControls/cmp_PODL_OUT.ascx.cs @@ -374,6 +374,15 @@ namespace MP_ADM.WebUserControls return answ; } + public string cssByAtt(object currAtt) + { + string answ = ""; + bool attivabile = false; + bool.TryParse($"{currAtt}", out attivabile); + answ = attivabile ? "text-primary" : "text-secondary"; + return answ; + } + public bool delEnabled(object _idxOdl) { bool answ = false;