modifs depot

This commit is contained in:
Laurie MONTANT 2024-10-10 14:08:43 +02:00
parent 42571ef2a1
commit 1cc34e6657

View File

@ -41,17 +41,20 @@
<#-- if Reflex WMS address is not structured --> <#-- if Reflex WMS address is not structured -->
<#else> <#else>
<#if depot.physical_depot_address??>
"Name": "${depot.physical_depot_address.company_name?json_string}", "Name": "${depot.physical_depot_address.company_name?json_string}",
"StreetAddressOne" : "${depot.physical_depot_address.address_1?json_string}", "StreetAddressOne" : "${depot.physical_depot_address.address_1?json_string}",
"StreetAddressTwo" : "${depot.physical_depot_address.address_2?json_string}", "StreetAddressTwo" : "${depot.physical_depot_address.address_2?json_string}",
"StreetAddressThree" : "${depot.physical_depot_address.address_3?json_string}", "StreetAddressThree" : "${depot.physical_depot_address.address_3?json_string}",
"CountryCode" : "" "CountryCode" : ""
</#if>
</#if> </#if>
}, },
"Phones": ["${depot.physical_depot_address.telephone?json_string}", <#if depot.physical_depot_address??>
"${depot.physical_depot_address.other_number?json_string}" "Phones": ["${depot.physical_depot_address.telephone?json_string}",
], "${depot.physical_depot_address.other_number?json_string}"
],
</#if>
"Typology": "TYPOLOGY_UNKNOWN" "Typology": "TYPOLOGY_UNKNOWN"
} }
} }