update modulo

This commit is contained in:
Rawan.Abouzahra
2025-06-12 10:30:17 +02:00
parent 1fbc8b314a
commit f8fca473f3
6 changed files with 32 additions and 7 deletions
@@ -106,15 +106,29 @@
</div>
@if (SelRecord != null)
{
<div class="@detDivCss">
modulo dettaglio da visualizzare
</div>
<ListTagDD RecSel="@SelRecord"></ListTagDD>
}
else
{
<div class="alert alert-info p-3 my-5">modulo dettaglio da visualizzare</div>
}
</div>
}
</div>
<div class="card-footer">
<EgwCoreLib.Razor.DataPager PageSize="@numRecord" currPage="@currPage" totalCount="@totalCount" showLoading="@isLoading" numRecordChanged="SetNumRec" numPageChanged="SetPage"></EgwCoreLib.Razor.DataPager>
</div>
@*
<div class="col-5">
@if(SelRecord != null)
{
<ListTagDD GDataServ="@SelRecord.Anno"></ListTagDD>
}
else
{
<div class="alert alert-info p-3 my-5">modulo dettaglio da visualizzare</div>
}
</div> *@
</div>
@@ -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);
+1 -1
View File
@@ -4,7 +4,7 @@
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<Version>4.1.2506.1209</Version>
<Version>4.1.2506.1210</Version>
</PropertyGroup>
<ItemGroup>
+1 -1
View File
@@ -1,6 +1,6 @@
<body>
<i>GPW - Gestione Presenze Web</i>
<h4>Versione: 4.1.2506.1209</h4>
<h4>Versione: 4.1.2506.1210</h4>
<br /> Note di rilascio:
<ul>
<li>
+1 -1
View File
@@ -1 +1 @@
4.1.2506.1209
4.1.2506.1210
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<item>
<version>4.1.2506.1209</version>
<version>4.1.2506.1210</version>
<url>http://nexus.steamware.net/repository/SWS/GPW/stable/GPW.UI.zip</url>
<changelog>http://nexus.steamware.net/repository/SWS/GPW/stable/ChangeLog.html</changelog>
<mandatory>false</mandatory>