Daten speichern
This commit is contained in:
@@ -53,6 +53,7 @@ namespace Jugenddienst_Stunden.ViewModels {
|
||||
public string Holiday {
|
||||
get => _hour.holiday;
|
||||
}
|
||||
|
||||
public TimeOnly DayTotal { get; set; }
|
||||
|
||||
public List<DayTime> DayTimes {
|
||||
@@ -154,6 +155,8 @@ namespace Jugenddienst_Stunden.ViewModels {
|
||||
////if (_hour.zeit_total_daily_api != null) {
|
||||
////TimeDay = _hour.zeit_total_daily_api.Where(static p => p.Day == GetDay.Day).ToList() ?? new List<TimeDay> { new TimeDay { Day = GetDay.Day, Hours = 0 } };
|
||||
//RefreshProperties();
|
||||
|
||||
|
||||
TimeSpan span = TimeSpan.Zero;
|
||||
foreach (DayTime dt in _hour.daytime) {
|
||||
span += dt.end - dt.begin;
|
||||
|
||||
Reference in New Issue
Block a user