Bugfix im Jahresbericht, wenn keine Klientennamen vorhanden sind
This commit is contained in:
@@ -47,14 +47,16 @@ namespace BeWo.Report.DefaultReports
|
||||
var allCustomerNames = new List<String>();
|
||||
foreach (var item in tab.JahresReportDetailList)
|
||||
{
|
||||
foreach (var name in item.CustomerNames)
|
||||
if (item.CustomerNames != null)
|
||||
{
|
||||
if (!allCustomerNames.Contains(name))
|
||||
foreach (var name in item.CustomerNames)
|
||||
{
|
||||
allCustomerNames.Add(name);
|
||||
if (!allCustomerNames.Contains(name))
|
||||
{
|
||||
allCustomerNames.Add(name);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
var sorted = allCustomerNames.OrderBy(a => a).ToList();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user