cb, alle todos für die Version 3.13 und diverse Reports

This commit is contained in:
Christian
2023-03-14 18:12:07 +01:00
parent b05f57c2fa
commit 7fbcc7c2a3
47 changed files with 2184 additions and 1206 deletions

View File

@@ -273,7 +273,7 @@ namespace ReportingService.ServiceImplementations
{
var reportCreator = GetReportCreator();
var report = reportCreator.CreateKilometerauswertung(customerOid, rangeDate);
var report = reportCreator.CreateKilometerauswertung(customerOid, null, new DateTime(rangeDate.Year, rangeDate.Month, 1), new DateTime(rangeDate.Year, rangeDate.Month, 1).AddMonths(1).AddDays(-1));
return report == null ? null : CreateReportStream(report);
}
@@ -282,9 +282,9 @@ namespace ReportingService.ServiceImplementations
{
var reportCreator = GetReportCreator();
var report = reportCreator.CreateKilometerauswertungForAllCustomers(customerOids, rangeDate);
var report = reportCreator.CreateKilometerauswertungForAllCustomers(customerOids, null, new DateTime(rangeDate.Year, rangeDate.Month, 1), new DateTime(rangeDate.Year, rangeDate.Month, 1).AddMonths(1).AddDays(-1));
return report == null ? null : CreateReportStream(report);
return report == null ? null : CreateReportStream(report);
}
public bool CheckForAnyServiceRecordsWithDistanceValues(List<long> customerOids, DateTimeSpan span)
@@ -296,7 +296,7 @@ namespace ReportingService.ServiceImplementations
{
var reportCreator = GetReportCreator();
var report = reportCreator.CreateEmployeeKilometerauswertung(employeeOid, range);
var report = reportCreator.CreateEmployeeKilometerauswertung(employeeOid, null, range, range);
return report == null ? null : CreateReportStream(report);
}
@@ -305,7 +305,7 @@ namespace ReportingService.ServiceImplementations
{
var reportCreator = GetReportCreator();
var report = reportCreator.CreateKilometerauswertungForAllEmployees(employeeOids, rangeDate);
var report = reportCreator.CreateKilometerauswertungForAllEmployees(employeeOids, null, new DateTime(rangeDate.Year, rangeDate.Month, 1), new DateTime(rangeDate.Year, rangeDate.Month, 1).AddMonths(1).AddDays(-1));
return report == null ? null : CreateReportStream(report);
}
@@ -315,9 +315,9 @@ namespace ReportingService.ServiceImplementations
{
var reportCreator = GetReportCreator(tenant);
var report = reportCreator.CreateKilometerauswertungForAllCustomers(customerOids, rangeDate);
var report = reportCreator.CreateKilometerauswertungForAllCustomers(customerOids, null, new DateTime(rangeDate.Year, rangeDate.Month, 1), new DateTime(rangeDate.Year, rangeDate.Month, 1).AddMonths(1).AddDays(-1));
return report == null ? null : CreateReportStream(report);
return report == null ? null : CreateReportStream(report);
}
public MemoryStream CreateMedikamentenlistenReport(long mvlOid, string tenant)