address: use address lines in address normalizer + fix tests (for distribution)

This commit is contained in:
nobohan
2022-01-06 15:29:42 +01:00
parent 3b20ac85d9
commit e82a71b833
3 changed files with 14 additions and 4 deletions

View File

@@ -141,7 +141,7 @@ class AddressRender implements ChillEntityRenderInterface
if (null !== $addr->getPostCode()->getCountry()->getCountryCode()) {
if ($addr->getPostCode()->getCountry()->getCountryCode() === 'FR') {
if ($addr->getDistribution()) {
$res = $res . $addr->getDistribution();
$res = $res . ' ' . $addr->getDistribution();
}
}
}