Kleiner Fix: Anzahl nur bei FlexibleReportEntry, die von ServiceRecord kommen. Dummies, Customer und Employee Einträge bekommen keine Anzahl

This commit is contained in:
2025-07-24 14:09:10 +02:00
parent 757d4869f0
commit 93ae2beea5

View File

@@ -750,7 +750,7 @@ namespace BeWo.View.Detail.Report
public decimal DifferenzBetreuungszeitIstSollStunden => DifferenzBetreuungszeitIstSollMinuten / 60;
public int Anzahl => 1;
public int Anzahl { get; set; }
public static FlexibleReportEntry InitByFlexibleReportEntryDC(FlexibleReportEntryDC entryDC)
{
@@ -783,6 +783,7 @@ namespace BeWo.View.Detail.Report
Notice3 = entryDC.Notice3,
Notice4 = entryDC.Notice4,
Notice5 = entryDC.Notice5,
Anzahl = 1
};
return entry;
}