Set PostOfficeBox when address has a post box in UN/CEFACT 16B-CII
Closes #15005
This commit is contained in:
@@ -25,6 +25,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
</py:def>
|
||||
<py:def function="TradeAddress(address)">
|
||||
<ram:PostcodeCode py:if="address.postal_code">${address.postal_code}</ram:PostcodeCode>
|
||||
<ram:PostOfficeBox py:if="address.post_box">${address.post_box}</ram:PostOfficeBox>
|
||||
<ram:BuildingName py:if="address.building_name">${address.building_name}</ram:BuildingName>
|
||||
<py:with vars="lines = (address.street_unstructured or '').splitlines()">
|
||||
<ram:LineOne py:if="len(lines) > 0">${lines[0]}</ram:LineOne>
|
||||
|
||||
Reference in New Issue
Block a user