From 3d6afa4f3019ad1a17766b96ea62aab6e1e51654 Mon Sep 17 00:00:00 2001 From: Laurie CELLIER Date: Wed, 29 Jul 2026 12:21:08 +0000 Subject: [PATCH] SCPN1-11090 (cherry picked from commit 911ed1d5cf8238a7ca8d267005ca9ac18aee551b) Co-authored-by: Laurie Montant --- RPtoRFX_CarrierAppointmentCreated.ftl | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/RPtoRFX_CarrierAppointmentCreated.ftl b/RPtoRFX_CarrierAppointmentCreated.ftl index 48a3dee..89aa492 100644 --- a/RPtoRFX_CarrierAppointmentCreated.ftl +++ b/RPtoRFX_CarrierAppointmentCreated.ftl @@ -39,11 +39,9 @@ <#if appointment.Unloading?? && appointment.Unloading.Projects?? && appointment.Unloading.Projects[0]?? && appointment.Unloading.Projects[0].Commissions?? > - <#if appointment.Unloading.Projects[0].Commissions[0].ExecutionflowID?? && - appointment.Unloading.Projects[0].Commissions[0].ExecutionflowID == ""&& - appointment.Unloading.Projects[0].Commissions[0].OrderID?? && - appointment.Unloading.Projects[0].Commissions[0].OrderID == ""> - "appointment_designation":"${(appointment.Reason!"")!?json_string}", + <#if (appointment.Unloading.Projects[0].Commissions[0].ExecutionflowID!"") == "" && + (appointment.Unloading.Projects[0].Commissions[0].OrderID!"") == ""> + "appointment_designation":"${(appointment.Reason!"")!?json_string}", <#else> "physical_receipt_list": [ <#list appointment.Unloading.Projects[0].Commissions?filter(l ->l.ExecutionflowID?? && l.ExecutionflowID !="") as commission>