MH: Autismus Köln Bonn QBs alphabetisch

This commit is contained in:
2023-08-09 14:22:23 +02:00
parent 6442295026
commit 6038ecdbfb

View File

@@ -24,7 +24,7 @@ namespace AutismusKoelnBonn
public override XtraReport CreateServiceOverviewAllCustomersReport(int month, int year, long orgaOid, long empOid, long? serviceCategoryOid, int startDay, int endDay)
{
List<ServicesOverviewRO> lROs = ServicesOverviewRO.Create(month, year, orgaOid, empOid, startDay, endDay);
List<ServicesOverviewRO> lROs = ServicesOverviewRO.Create(month, year, orgaOid, empOid, startDay, endDay).OrderBy(ro => ro.CustomerLastName).ToList();
if (lROs.Count > 0)
{
@@ -57,8 +57,10 @@ namespace AutismusKoelnBonn
roList.Add(ro);
}
}
if (roList.Count > 0)
roList = roList.OrderBy(ro => ro.CustomerLastName).ToList();
if (roList.Count > 0)
{
var rootReport = CreateServicesOverviewReportForRo(roList[0], serviceCategoryOid);
rootReport.CreateDocument();