country code 2

This commit is contained in:
Laurie MONTANT 2024-08-06 11:26:18 +02:00
parent d21a863060
commit b7f383d531
4 changed files with 4 additions and 4 deletions

View File

@ -29,7 +29,7 @@
"StreetAddressTwo" : "${carrier.carrier_structured_address.additionnal_data?json_string}",
"PostalCode" : "${carrier.carrier_structured_address.postal_code?json_string}",
"City" : "${carrier.carrier_structured_address.post_code_area_name?json_string}",
<#assign isCountryCode = isCountryCode(preparation_line.countryCode) />
<#assign isCountryCode = isCountryCode(carrier.carrier_structured_address.country_code) />
<#if isCountryCode>
"CountryCode" : "${carrier.carrier_structured_address.country_code?json_string}",
<#else>

View File

@ -29,7 +29,7 @@
"StreetAddressTwo" : "${actor.consignee_structured_address.additionnal_data?json_string}",
"PostalCode" : "${actor.consignee_structured_address.postal_code?json_string}",
"City" : "${actor.consignee_structured_address.post_code_area_name?json_string}",
<#assign isCountryCode = isCountryCode(preparation_line.countryCode) />
<#assign isCountryCode = isCountryCode(actor.consignee_structured_address.country_code) />
<#if isCountryCode>
"CountryCode" : "${actor.consignee_structured_address.country_code?json_string}",
<#else>

View File

@ -28,7 +28,7 @@
"StreetAddressTwo" : "${actor.supplier_structured_address.additionnal_data?json_string}",
"PostalCode" : "${actor.supplier_structured_address.postal_code?json_string}",
"City" : "${actor.supplier_structured_address.post_code_area_name?json_string}",
<#assign isCountryCode = isCountryCode(preparation_line.countryCode) />
<#assign isCountryCode = isCountryCode(actor.supplier_structured_address.country_code) />
<#if isCountryCode>
"CountryCode" : "${actor.supplier_structured_address.country_code?json_string}",
<#else>

View File

@ -28,7 +28,7 @@
"StreetAddressTwo" : "${depot.physical_depot_structured_address.additionnal_data?json_string}",
"PostalCode" : "${depot.physical_depot_structured_address.postal_code?json_string}",
"City" : "${depot.physical_depot_structured_address.post_code_area_name?json_string}",
<#assign isCountryCode = isCountryCode(preparation_line.countryCode) />
<#assign isCountryCode = isCountryCode(depot.physical_depot_structured_address.country_code) />
<#if isCountryCode >
"CountryCode" : "${depot.physical_depot_structured_address.country_code?json_string}",
<#else>