Fix parsing address
This commit is contained in:
parent
50c0074f2d
commit
761e508143
2 changed files with 7 additions and 2 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -17,3 +17,5 @@
|
|||
/Schaad.Finance/bin/Release/netstandard2.1
|
||||
/Schaad.Finance.Api/bin/Release/netstandard2.1
|
||||
/Schaad.Finance.Tests/bin/Release/netcoreapp3.1
|
||||
/Schaad.Finance.Tests/bin/Debug/netcoreapp3.1
|
||||
/Schaad.Finance.Api/bin/Debug/netstandard2.1
|
||||
|
|
|
|||
|
|
@ -183,11 +183,14 @@ namespace Schaad.Finance.Formats.AccountStatements
|
|||
AddIfNotEmpty(texts, entry.PstlAdr.PstCd);
|
||||
AddIfNotEmpty(texts, entry.PstlAdr.TwnNm);
|
||||
|
||||
if (entry.PstlAdr.AdrLine != null)
|
||||
{
|
||||
foreach (var line in entry.PstlAdr.AdrLine)
|
||||
{
|
||||
AddIfNotEmpty(texts, line);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return GetAddress(texts);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue