From 6f636b4ee7afb41cf3a7b33008488b5f99e09a1d Mon Sep 17 00:00:00 2001 From: Laurie Montant Date: Tue, 15 Oct 2024 16:56:15 +0200 Subject: [PATCH] modifs --- RPtoRFX_PrepOrder.ftl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RPtoRFX_PrepOrder.ftl b/RPtoRFX_PrepOrder.ftl index c800639..2373749 100644 --- a/RPtoRFX_PrepOrder.ftl +++ b/RPtoRFX_PrepOrder.ftl @@ -55,7 +55,7 @@ "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??> + <#if executionflow.ShipTo.Actor.Adresse.Name?? && 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}"