diff --git a/GPW.CORE.SMART/Components/Calendario.razor b/GPW.CORE.SMART/Components/Calendario.razor
index 8b4668d..a1f09c6 100644
--- a/GPW.CORE.SMART/Components/Calendario.razor
+++ b/GPW.CORE.SMART/Components/Calendario.razor
@@ -170,7 +170,7 @@ else
{
}
diff --git a/GPW.CORE.SMART/Components/CompProj.razor.cs b/GPW.CORE.SMART/Components/CompProj.razor.cs
index 200279c..7e661b5 100644
--- a/GPW.CORE.SMART/Components/CompProj.razor.cs
+++ b/GPW.CORE.SMART/Components/CompProj.razor.cs
@@ -13,6 +13,9 @@ namespace GPW.CORE.Smart.Components
[Parameter]
public int IdxDipCurr { get; set; } = 0;
+ [Parameter]
+ public DateTime DtRif { get; set; } = DateTime.Today;
+
[Parameter]
public List? ListProgetti
{
@@ -204,13 +207,12 @@ namespace GPW.CORE.Smart.Components
// altrimenti aggiunge comunque un attivitą...
else
{
- DateTime oggi = DateTime.Today;
RegAttivitaModel? newItem = new RegAttivitaModel()
{
- Inizio = oggi.AddHours(StartHour),
+ Inizio = DtRif.AddHours(StartHour),
IdxFase = 0,
Descrizione = "-",
- Fine = oggi.AddHours(StartHour + 1),
+ Fine = DtRif.AddHours(StartHour + 1),
OreTot = 1
};
result.Add(newItem);
diff --git a/GPW.CORE.SMART/Components/ProjectsList.razor b/GPW.CORE.SMART/Components/ProjectsList.razor
index a22d5d5..21c5a90 100644
--- a/GPW.CORE.SMART/Components/ProjectsList.razor
+++ b/GPW.CORE.SMART/Components/ProjectsList.razor
@@ -29,21 +29,6 @@
}
}
- @* if (lastIdxRa > 0)
- {
- @if (hasClonedRa)
- {
-
- }
- else
- {
-
- }
- }*@
}