BeWoPlanerMobil/Models/MainModel.cs - Anzeige Endzeit Gruppenbuchung

This commit is contained in:
2025-03-12 16:42:26 +01:00
parent e8cf63c944
commit adbf91019f

View File

@@ -419,9 +419,9 @@ namespace BeWoPlanerMobil.Models
}
var start = serviceRecord.Start.Value;
var end = start.AddMinutes((int) serviceRecord.RoundedDuration);//serviceRecord.End.Value;
var end = serviceRecord.End.Value; //start.AddMinutes((int) serviceRecord.RoundedDuration), AB, 12.03.2025: Änderung vom 12.11.2024 rückgängig; Endzeit bleibt bei Gruppen- und Einzelbuchungen die tatäschliche Zeit - genau wie FAK
if(start.Second == 0)
if (start.Second == 0)
{
return start.Date != end.Date ?
$"{start.ToShortDateString()} {start.ToShortTimeString()} - {end.ToShortDateString()} {end.ToShortTimeString()}" :