[chore:] filter by germany for running-sheet creation
This commit is contained in:
+1
-1
@@ -604,7 +604,7 @@ public class PdfBuilder
|
|||||||
|
|
||||||
List<IGrouping<string, KasPerson>> sorted_list = list.KasPersons
|
List<IGrouping<string, KasPerson>> sorted_list = list.KasPersons
|
||||||
.Where(x => !string.IsNullOrEmpty(x?.used_plz) &&
|
.Where(x => !string.IsNullOrEmpty(x?.used_plz) &&
|
||||||
x.used_plz.Length >= stpoint)
|
x.used_plz.Length >= stpoint && x.IsGermany())
|
||||||
.OrderBy(x => x.used_plz)
|
.OrderBy(x => x.used_plz)
|
||||||
.GroupBy(x => x.used_plz.Substring(0, stpoint))
|
.GroupBy(x => x.used_plz.Substring(0, stpoint))
|
||||||
.ToList();
|
.ToList();
|
||||||
|
|||||||
Reference in New Issue
Block a user