Merge branch 'Release/Tab3_FixMachSel_02'

This commit is contained in:
Samuele Locatelli
2025-09-09 12:10:08 +02:00
6 changed files with 11 additions and 9 deletions
+3 -1
View File
@@ -3,6 +3,7 @@ using MP.Data.DbModels;
using MP.Data.Services;
using NLog;
using System.Reflection.Metadata;
using static MongoDB.Driver.WriteConcern;
namespace MP_TAB3.Components
{
@@ -127,7 +128,7 @@ namespace MP_TAB3.Components
var newValue = e.Value?.ToString();
if (newValue != idxMaccSel)
{
idxMaccSel = newValue;
IdxMaccSel = newValue;
await E_MachSel.InvokeAsync(newValue);
}
}
@@ -156,6 +157,7 @@ namespace MP_TAB3.Components
if (!string.IsNullOrEmpty(idxMSel))
{
IdxMaccSel = idxMSel;
await E_MachSel.InvokeAsync(idxMSel);
}
else
{
+4 -4
View File
@@ -137,8 +137,8 @@ namespace MP_TAB3.Components
if (recOdl != null && recOdl.IdxOdl == IdxOdl)
{
DateTime fine = DateTime.Today.AddDays(1);
DateTime inizio = fine.AddDays(-7);
CurrPeriodo = new Periodo(recOdl.DataInizio ?? inizio, recOdl.DataFine ?? fine);
DateTime inizio = fine.AddMonths(-6);
CurrPeriodo = new Periodo(recOdl.DataInizio ?? inizio.AddMonths(-6), recOdl.DataFine ?? fine);
}
}
// altrimenti reset..
@@ -335,7 +335,7 @@ namespace MP_TAB3.Components
await Task.Delay(1);
if (!string.IsNullOrEmpty(IdxMaccSel))
{
ListaOdl = await TabDServ.OdlListByMaccPeriodo(IdxMaccSel, CurrPeriodo.Inizio.AddMonths(-1), DateTime.Today.AddDays(1));
ListaOdl = await TabDServ.OdlListByMaccPeriodo(IdxMaccSel, CurrPeriodo.Inizio.AddMonths(-6), DateTime.Today.AddDays(1));
ListComplete = await TabDServ.ElencoConfProdFiltAsync(IdxMaccSel, CurrPeriodo.Inizio, CurrPeriodo.Fine);
TotalCount = ListComplete.Count;
// esegue paginazione
@@ -368,7 +368,7 @@ namespace MP_TAB3.Components
if (doSet)
{
DateTime fine = DateTime.Today.AddDays(1);
DateTime inizio = fine.AddDays(-7);
DateTime inizio = fine.AddMonths(-6);
CurrPeriodo = new Periodo(inizio, fine);
}
}
+1 -1
View File
@@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<Version>6.16.2509.817</Version>
<Version>6.16.2509.912</Version>
<ImplicitUsings>enable</ImplicitUsings>
<RootNamespace>MP_TAB3</RootNamespace>
</PropertyGroup>
+1 -1
View File
@@ -1,6 +1,6 @@
<body>
<i>Modulo MAPOSPEC </i>
<h4>Versione: 6.16.2509.817</h4>
<h4>Versione: 6.16.2509.912</h4>
<br /> Note di rilascio:
<ul>
<li>
+1 -1
View File
@@ -1 +1 @@
6.16.2509.817
6.16.2509.912
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<item>
<version>6.16.2509.817</version>
<version>6.16.2509.912</version>
<url>https://nexus.steamware.net/repository/SWS/MP-TAB3/stable/LAST/MP-TAB3.zip</url>
<changelog>https://nexus.steamware.net/repository/SWS/MP-TAB3/stable/LAST/ChangeLog.html</changelog>
<mandatory>false</mandatory>