Fix editor minuti (round 5 min)
This commit is contained in:
@@ -48,5 +48,6 @@ namespace GPW.CORE.Data.DbModels
|
||||
public virtual DipendentiModel? DipNav { get; set; }
|
||||
[ForeignKey("IdxFase")]
|
||||
public virtual AnagFasiModel? FasiNav { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -68,7 +68,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-6 px-0">
|
||||
<label class="small">Periodo</label>
|
||||
<label class="small">Periodo (arr 5 min)</label>
|
||||
<div class="d-flex justify-content-between">
|
||||
<div class="px-0">
|
||||
<div class="input-group">
|
||||
@@ -77,7 +77,7 @@
|
||||
<i class="fas fa-play"></i>
|
||||
</span>
|
||||
</div>
|
||||
<input type="datetime-local" @bind="@currRecord.Inizio" style="width: 12rem;"></input>
|
||||
<input type="datetime-local" @bind="@InizioFix" style="width: 12rem;"></input>
|
||||
</div>
|
||||
</div>
|
||||
<div class="px-0">
|
||||
@@ -87,7 +87,7 @@
|
||||
<i class="fas fa-stop"></i>
|
||||
</span>
|
||||
</div>
|
||||
<input type="datetime-local" @bind="@currRecord.Fine" style="width: 12rem;"></input>
|
||||
<input type="datetime-local" @bind="@FineFix" style="width: 12rem;"></input>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -157,5 +157,38 @@ namespace GPW.CORE.UI.Components
|
||||
// registro fatto
|
||||
await ItemUpdated.InvokeAsync(true);
|
||||
}
|
||||
|
||||
|
||||
public DateTime InizioFix
|
||||
{
|
||||
get
|
||||
{
|
||||
return currRecord.Inizio;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (currRecord.Inizio != value)
|
||||
{
|
||||
// arrotondo ai 5 min...
|
||||
currRecord.Inizio = CORE.Data.Utils.DateRounded(value.AddMinutes(2), 5, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public DateTime FineFix
|
||||
{
|
||||
get
|
||||
{
|
||||
return currRecord.Fine;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (currRecord.Fine != value)
|
||||
{
|
||||
// arrotondo ai 5 min...
|
||||
currRecord.Fine = CORE.Data.Utils.DateRounded(value.AddMinutes(2), 5, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<Version>3.0.2201.1511</Version>
|
||||
<Version>3.0.2201.1709</Version>
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
@page "/ActivityLog"
|
||||
|
||||
<h3>ActivityLog</h3>
|
||||
|
||||
Elenco delle attività, da valutare se stile attuale pagina commesse
|
||||
<ul>
|
||||
<li>deve contenere (filtrate) le info attività utente</li>
|
||||
<li>verifica timbrature</li>
|
||||
<li>verifica temperatura</li>
|
||||
<li>verifica check C19</li>
|
||||
<li>verifica attività (log corrente)</li>
|
||||
</ul>
|
||||
|
||||
|
||||
@code {
|
||||
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
<body>
|
||||
<i>GPW - Gestione Presenze Web</i>
|
||||
<h4>Versione: 3.0.2201.1511</h4>
|
||||
<h4>Versione: 3.0.2201.1709</h4>
|
||||
<br /> Note di rilascio:
|
||||
<ul>
|
||||
<li>
|
||||
|
||||
@@ -1 +1 @@
|
||||
3.0.2201.1511
|
||||
3.0.2201.1709
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<item>
|
||||
<version>3.0.2201.1511</version>
|
||||
<version>3.0.2201.1709</version>
|
||||
<url>http://nexus.steamware.net/repository/SWS/GWMS/stable/0/GWMS.UI.zip</url>
|
||||
<changelog>http://nexus.steamware.net/repository/SWS/GWMS/stable/0/ChangeLog.html</changelog>
|
||||
<mandatory>false</mandatory>
|
||||
|
||||
Reference in New Issue
Block a user