From ffbeb4cadcb140cb8831c6e3af1ec6128d29e170 Mon Sep 17 00:00:00 2001 From: Laurie Montant Date: Tue, 15 Oct 2024 17:03:15 +0200 Subject: [PATCH] modifs --- RPtoRFX_PrepOrder.ftl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RPtoRFX_PrepOrder.ftl b/RPtoRFX_PrepOrder.ftl index ae86335..6d672f9 100644 --- a/RPtoRFX_PrepOrder.ftl +++ b/RPtoRFX_PrepOrder.ftl @@ -55,8 +55,8 @@ "address_type_code" : "${adresstypecode}", "first_name": "${(executionflow.ShipTo.Contact.FirstName!"")?json_string}", "last_name" :"${(executionflow.ShipTo.Contact.LastName!"")?json_string}", - <#if executionflow.ShipTo.Actor.Adress.Name?? && executionflow.ShipTo.Actor.Adress.Name!=""> - "name_or_company_name" : "${(executionflow.ShipTo.Actor.Adress.Name!"")?json_string}", + <#if executionflow.ShipTo.Actor.Address.Name?? && executionflow.ShipTo.Actor.Address.Name!=""> + "name_or_company_name" : "${(executionflow.ShipTo.Actor.Address.Name!"")?json_string}", <#else> "name_or_company_name" : "${(executionflow.ShipTo.Contact.FirstName!"")?json_string}${(executionflow.ShipTo.Contact.LastName!"")?json_string}"