diff --git a/GPW.CORE.ADM/Components/Compo/MonthTagMan.razor b/GPW.CORE.ADM/Components/Compo/MonthTagMan.razor index 7cec052..f782d1f 100644 --- a/GPW.CORE.ADM/Components/Compo/MonthTagMan.razor +++ b/GPW.CORE.ADM/Components/Compo/MonthTagMan.razor @@ -106,15 +106,29 @@ @if (SelRecord != null) { -
- modulo dettaglio da visualizzare -
+ + } + else + { +
modulo dettaglio da visualizzare
} } + + @* +
+ @if(SelRecord != null) + { + + } + else + { +
modulo dettaglio da visualizzare
+ } +
*@ diff --git a/GPW.CORE.ADM/Components/Compo/listTagDD.razor.cs b/GPW.CORE.ADM/Components/Compo/listTagDD.razor.cs index 0a19efe..dbc26e3 100644 --- a/GPW.CORE.ADM/Components/Compo/listTagDD.razor.cs +++ b/GPW.CORE.ADM/Components/Compo/listTagDD.razor.cs @@ -10,6 +10,8 @@ namespace GPW.CORE.ADM.Components.Compo { public partial class ListTagDD { + [Parameter] + public MonthTagModel RecSel { get; set; } #region Protected Properties @@ -24,6 +26,7 @@ namespace GPW.CORE.ADM.Components.Compo protected int IdxDipSel { get; set; } = 0; + #endregion Protected Properties #region Protected Methods @@ -51,6 +54,14 @@ namespace GPW.CORE.ADM.Components.Compo CurrPeriodo.Fine = DateTime.Today.AddDays(1); } + protected override async Task OnParameterSetAsync() + { + CurrPeriodo.Fine = new DateTime(RecSel.Anno, RecSel.Mese, 1).AddMonths(1); + CurrPeriodo.Inizio = new DateTime(RecSel.Anno, RecSel.Mese, 1); + IdxDipSel = RecSel.IdxDipendente; + await ReloadData(); + } + protected async void Recalc() { await Task.Delay(200); diff --git a/GPW.CORE.ADM/GPW.CORE.ADM.csproj b/GPW.CORE.ADM/GPW.CORE.ADM.csproj index d3fae57..93198b8 100644 --- a/GPW.CORE.ADM/GPW.CORE.ADM.csproj +++ b/GPW.CORE.ADM/GPW.CORE.ADM.csproj @@ -4,7 +4,7 @@ net8.0 enable enable - 4.1.2506.1209 + 4.1.2506.1210 diff --git a/Resources/ChangeLog.html b/Resources/ChangeLog.html index 0e4264b..2e3e576 100644 --- a/Resources/ChangeLog.html +++ b/Resources/ChangeLog.html @@ -1,6 +1,6 @@ GPW - Gestione Presenze Web -

Versione: 4.1.2506.1209

+

Versione: 4.1.2506.1210


Note di rilascio: