- correzioni verifica che bloccava i pezzi gia' in supervisore

- Open project ripristina se selezione del tempo ma al posto di periodo mette ultimo mese per vedere sempre ultimi progetti
- aggiornamento EgwRedmineAPI per compatibilita' con Redmine 6
This commit is contained in:
Emmanuele Sassi
2026-07-21 13:51:39 +02:00
parent 9197e1294d
commit e713c03389
5 changed files with 7 additions and 13 deletions
@@ -544,7 +544,8 @@ Public MustInherit Class NewOpenProjectFileDialogVM
m_colProdFile_Name = m_ProdColumns.FirstOrDefault(Function(x) x.Key = COL_NAME)
m_colArchived_Name = m_ProdColumns.FirstOrDefault(Function(x) x.Key = COL_ARCHIVED)
' leggo valori per filtri
m_SelDayType = GetMainPrivateProfileInt(S_OPENFILEDIALOG, K_DAYTYPE, 0)
Dim IniDayType As DayTypes = GetMainPrivateProfileInt(S_OPENFILEDIALOG, K_DAYTYPE, 0)
m_SelDayType = If(IniDayType <> DayTypes.PERIOD, IniDayType, DayTypes.LASTMONTH)
Select Case m_SelDayType
Case DayTypes.LASTMONTH
m_dtEndDate = DateTime.Today + TimeSpan.FromDays(1)
@@ -555,7 +556,7 @@ Public MustInherit Class NewOpenProjectFileDialogVM
Case DayTypes.LAST6MONTHS
m_dtEndDate = DateTime.Today + TimeSpan.FromDays(1)
m_dtStartDate = m_dtEndDate - TimeSpan.FromDays(30.5 * 6)
Case DayTypes.PERIOD
Case Else ' DayTypes.LASTMONTH
Dim sStartDate As String = "0"
Dim lStartDate As Long = 0
GetMainPrivateProfileString(S_OPENFILEDIALOG, K_STARTDATE, 0, sStartDate)