diff --git a/ReportImp/BeWoFuerDich/BeWoFuerDich.csproj b/ReportImp/BeWoFuerDich/BeWoFuerDich.csproj index b3b12a646..71ca45ec6 100644 --- a/ReportImp/BeWoFuerDich/BeWoFuerDich.csproj +++ b/ReportImp/BeWoFuerDich/BeWoFuerDich.csproj @@ -50,6 +50,7 @@ + Component @@ -81,25 +82,12 @@ LeistungsnachweisJugendamt.cs - Component ServiceInvoiceReport.cs - - Component - - - QuittierungsbelegMitFehlkontakten.cs - - - Component - - - ServicesOverviewReport.cs - Component @@ -141,12 +129,6 @@ ServiceInvoiceReport.cs Designer - - QuittierungsbelegMitFehlkontakten.cs - - - ServicesOverviewReport.cs - SettlementReport2.cs Designer diff --git a/ReportImp/BeWoFuerDich/CustomReportCreator.cs b/ReportImp/BeWoFuerDich/CustomReportCreator.cs index 5b63f8a29..7bb834f91 100644 --- a/ReportImp/BeWoFuerDich/CustomReportCreator.cs +++ b/ReportImp/BeWoFuerDich/CustomReportCreator.cs @@ -48,12 +48,12 @@ namespace BeWoFuerDich { XtraReport report = null; - ServicesOverviewRO fehlkontaktRO = ServicesOverviewRO.CopyFromRO(ro); - fehlkontaktRO.TotalFLMBillable = 0; - fehlkontaktRO.TotalFLS = 0; - ServicesOverviewRO keineFehlkontakteRO = ServicesOverviewRO.CopyFromRO(ro); - keineFehlkontakteRO.TotalFLMBillable = 0; - keineFehlkontakteRO.TotalFLS = 0; + //ServicesOverviewRO fehlkontaktRO = ServicesOverviewRO.CopyFromRO(ro); + //fehlkontaktRO.TotalFLMBillable = 0; + //fehlkontaktRO.TotalFLS = 0; + //ServicesOverviewRO keineFehlkontakteRO = ServicesOverviewRO.CopyFromRO(ro); + //keineFehlkontakteRO.TotalFLMBillable = 0; + //keineFehlkontakteRO.TotalFLS = 0; if (ro.Services != null) { @@ -61,37 +61,37 @@ namespace BeWoFuerDich { report = AddReportToReport(report, ro); } - else - { - foreach (ServicesOverviewRO.ServiceDetail s in ro.Services) - { - if (s.ServiceDescription.ToLower().Contains("fehlkontakt")) - { - fehlkontaktRO.Services.Add(s); - fehlkontaktRO.TotalFLMBillable += s.Minutes; - fehlkontaktRO.TotalFLS += s.Minutes / 60; - } - else - { - keineFehlkontakteRO.Services.Add(s); - keineFehlkontakteRO.TotalFLMBillable += s.Minutes; - keineFehlkontakteRO.TotalFLS += s.Minutes / 60; - } - } - } + //else + //{ + // foreach (ServicesOverviewRO.ServiceDetail s in ro.Services) + // { + // if (s.ServiceDescription.ToLower().Contains("fehlkontakt")) + // { + // fehlkontaktRO.Services.Add(s); + // fehlkontaktRO.TotalFLMBillable += s.Minutes; + // fehlkontaktRO.TotalFLS += s.Minutes / 60; + // } + // else + // { + // keineFehlkontakteRO.Services.Add(s); + // keineFehlkontakteRO.TotalFLMBillable += s.Minutes; + // keineFehlkontakteRO.TotalFLS += s.Minutes / 60; + // } + // } + //} } - - - if (report == null) - report = AddReportToReport(report, keineFehlkontakteRO); - if (fehlkontaktRO.Services.Count > 0) - { - report = AddReportToReport(report, fehlkontaktRO); - } + + if (report == null) + report = AddReportToReport(report, ro); + + // if (fehlkontaktRO.Services.Count > 0) + // { + // report = AddReportToReport(report, fehlkontaktRO); + // } return report;