country code
This commit is contained in:
parent
9ee9743b81
commit
d21a863060
@ -29,6 +29,7 @@
|
|||||||
"StreetAddressTwo" : "${actor.consignee_structured_address.additionnal_data?json_string}",
|
"StreetAddressTwo" : "${actor.consignee_structured_address.additionnal_data?json_string}",
|
||||||
"PostalCode" : "${actor.consignee_structured_address.postal_code?json_string}",
|
"PostalCode" : "${actor.consignee_structured_address.postal_code?json_string}",
|
||||||
"City" : "${actor.consignee_structured_address.post_code_area_name?json_string}",
|
"City" : "${actor.consignee_structured_address.post_code_area_name?json_string}",
|
||||||
|
<#assign isCountryCode = isCountryCode(preparation_line.countryCode) />
|
||||||
<#if isCountryCode>
|
<#if isCountryCode>
|
||||||
"CountryCode" : "${actor.consignee_structured_address.country_code?json_string}",
|
"CountryCode" : "${actor.consignee_structured_address.country_code?json_string}",
|
||||||
<#else>
|
<#else>
|
||||||
|
|||||||
@ -28,6 +28,7 @@
|
|||||||
"StreetAddressTwo" : "${actor.supplier_structured_address.additionnal_data?json_string}",
|
"StreetAddressTwo" : "${actor.supplier_structured_address.additionnal_data?json_string}",
|
||||||
"PostalCode" : "${actor.supplier_structured_address.postal_code?json_string}",
|
"PostalCode" : "${actor.supplier_structured_address.postal_code?json_string}",
|
||||||
"City" : "${actor.supplier_structured_address.post_code_area_name?json_string}",
|
"City" : "${actor.supplier_structured_address.post_code_area_name?json_string}",
|
||||||
|
<#assign isCountryCode = isCountryCode(preparation_line.countryCode) />
|
||||||
<#if isCountryCode>
|
<#if isCountryCode>
|
||||||
"CountryCode" : "${actor.supplier_structured_address.country_code?json_string}",
|
"CountryCode" : "${actor.supplier_structured_address.country_code?json_string}",
|
||||||
<#else>
|
<#else>
|
||||||
|
|||||||
@ -28,6 +28,7 @@
|
|||||||
"StreetAddressTwo" : "${depot.physical_depot_structured_address.additionnal_data?json_string}",
|
"StreetAddressTwo" : "${depot.physical_depot_structured_address.additionnal_data?json_string}",
|
||||||
"PostalCode" : "${depot.physical_depot_structured_address.postal_code?json_string}",
|
"PostalCode" : "${depot.physical_depot_structured_address.postal_code?json_string}",
|
||||||
"City" : "${depot.physical_depot_structured_address.post_code_area_name?json_string}",
|
"City" : "${depot.physical_depot_structured_address.post_code_area_name?json_string}",
|
||||||
|
<#assign isCountryCode = isCountryCode(preparation_line.countryCode) />
|
||||||
<#if isCountryCode >
|
<#if isCountryCode >
|
||||||
"CountryCode" : "${depot.physical_depot_structured_address.country_code?json_string}",
|
"CountryCode" : "${depot.physical_depot_structured_address.country_code?json_string}",
|
||||||
<#else>
|
<#else>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user