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/bin/Release/netstandard2.1
|
||||||
/Schaad.Finance.Api/bin/Release/netstandard2.1
|
/Schaad.Finance.Api/bin/Release/netstandard2.1
|
||||||
/Schaad.Finance.Tests/bin/Release/netcoreapp3.1
|
/Schaad.Finance.Tests/bin/Release/netcoreapp3.1
|
||||||
|
/Schaad.Finance.Tests/bin/Debug/netcoreapp3.1
|
||||||
|
/Schaad.Finance.Api/bin/Debug/netstandard2.1
|
||||||
|
|
|
||||||
|
|
@ -183,9 +183,12 @@ namespace Schaad.Finance.Formats.AccountStatements
|
||||||
AddIfNotEmpty(texts, entry.PstlAdr.PstCd);
|
AddIfNotEmpty(texts, entry.PstlAdr.PstCd);
|
||||||
AddIfNotEmpty(texts, entry.PstlAdr.TwnNm);
|
AddIfNotEmpty(texts, entry.PstlAdr.TwnNm);
|
||||||
|
|
||||||
foreach (var line in entry.PstlAdr.AdrLine)
|
if (entry.PstlAdr.AdrLine != null)
|
||||||
{
|
{
|
||||||
AddIfNotEmpty(texts, line);
|
foreach (var line in entry.PstlAdr.AdrLine)
|
||||||
|
{
|
||||||
|
AddIfNotEmpty(texts, line);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue