App: Fix BranchLocation shortening
All checks were successful
Test / Run tests (push) Successful in 1m46s
All checks were successful
Test / Run tests (push) Successful in 1m46s
This commit is contained in:
@ -197,7 +197,13 @@ namespace Elwig {
|
||||
ZwstId = entry.Item1;
|
||||
BranchName = entry.Item2;
|
||||
BranchPlz = entry.Item3;
|
||||
BranchLocation = entry.Item4?.Split(" im ")[0].Split(" an ")[0].Split(" bei ")[0]; // FIXME
|
||||
BranchLocation = entry.Item4?
|
||||
.Split(" in ")[0]
|
||||
.Split(" im ")[0]
|
||||
.Split(" an ")[0]
|
||||
.Split(" am ")[0]
|
||||
.Split(" bei ")[0]
|
||||
.Split(" beim ")[0];
|
||||
BranchAddress = entry.Item5;
|
||||
BranchPhoneNr = entry.Item6;
|
||||
BranchFaxNr = entry.Item7;
|
||||
|
Reference in New Issue
Block a user