This commit is contained in:
Laurie MONTANT 2024-10-15 16:54:24 +02:00
parent 557828b459
commit 833ed4ebd6
2 changed files with 6 additions and 2 deletions

View File

@ -55,7 +55,11 @@
"address_type_code" : "${adresstypecode}",
"first_name": "${(executionflow.ShipTo.Contact.FirstName!"")?json_string}",
"last_name" :"${(executionflow.ShipTo.Contact.LastName!"")?json_string}",
"name_or_company_name" : "${(executionflow.ShipTo.Contact.FirstName!"")?json_string} ${(executionflow.ShipTo.Contact.LastName!"")?json_string}",
<#if executionflow.ShipTo.Actor.Adresse.Name??>
"name_or_company_name" : "${(executionflow.ShipTo.Actor.Adresse.Name!"")?json_string}",
<#else>
"name_or_company_name" : "${(executionflow.ShipTo.Contact.FirstName!"")?json_string}${(executionflow.ShipTo.Contact.LastName!"")?json_string}"
</#if>
<#if executionflow.ShipTo.Contact.Emails?? && executionflow.ShipTo.Contact.Emails[0]!="">
"mail_address": "${executionflow.ShipTo.Contact.Emails[0]}",
</#if>

View File

@ -6,7 +6,7 @@
"4":"CLAIM_CRITICALITY_BLOCKING"
}>
<#-- Table Amout -->
<#-- Table Amount -->
<#assign TableAmount = {
"$": "USD",
"£":"GBP",