From f736d62ee4cc56fa0b3077a9419ebf33c9d2a3b5 Mon Sep 17 00:00:00 2001 From: Laurie Montant Date: Tue, 15 Oct 2024 17:00:34 +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 2373749..ae86335 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.Adresse.Name?? && executionflow.ShipTo.Actor.Adresse.Name!=""> - "name_or_company_name" : "${(executionflow.ShipTo.Actor.Adresse.Name!"")?json_string}", + <#if executionflow.ShipTo.Actor.Adress.Name?? && executionflow.ShipTo.Actor.Adress.Name!=""> + "name_or_company_name" : "${(executionflow.ShipTo.Actor.Adress.Name!"")?json_string}", <#else> "name_or_company_name" : "${(executionflow.ShipTo.Contact.FirstName!"")?json_string}${(executionflow.ShipTo.Contact.LastName!"")?json_string}"