From 17ae3b23bf56ee78b623945e2f499100f00c42b5 Mon Sep 17 00:00:00 2001 From: Laurie Montant Date: Tue, 16 Dec 2025 10:37:07 +0100 Subject: [PATCH] rdv --- RFXtoRP_HsrCarrierApt.ftl | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/RFXtoRP_HsrCarrierApt.ftl b/RFXtoRP_HsrCarrierApt.ftl index 0e1d5c8..bdca7af 100644 --- a/RFXtoRP_HsrCarrierApt.ftl +++ b/RFXtoRP_HsrCarrierApt.ftl @@ -45,12 +45,12 @@ <#if carrier_apt.status?? && carrier_apt.status.status_code=="999"> [ { - <#assign apiReflexPlatformID = ApiReflexPlatformID.SiteCancelAppointment> - "apiReflexPlatformID" : "${apiReflexPlatformID}", - "datas" : - <#include "RFXtoRP_HsrCarrierApt_SiteCancelAppointment.ftl"> + <#assign apiReflexPlatformID = ApiReflexPlatformID.SiteCancelAppointment> + "apiReflexPlatformID" : "${apiReflexPlatformID}", + "datas" : + <#include "RFXtoRP_HsrCarrierApt_SiteCancelAppointment.ftl"> } - ] + ] <#else> <#if carrier_apt.physical_receipt_list?? && (carrier_apt.physical_receipt_list?filter(l ->l??)?size != 0)> [ @@ -61,18 +61,18 @@ <#include "RFXtoRP_HsrCarrierApt_UpdateAppointment.ftl"> } ] - <#else> - [ - { - <#assign apiReflexPlatformID = ApiReflexPlatformID.SiteWMSUpdateAppointment> <#-- à revoir--> - "apiReflexPlatformID" : "${apiReflexPlatformID}", - "datas" : - <#include "RFXtoRP_HsrCarrierApt_UpdateSlotAppointment.ftl"> - } - ] + <#else> + [ + { + <#assign apiReflexPlatformID = ApiReflexPlatformID.SiteWMSUpdateAppointment> <#-- à revoir--> + "apiReflexPlatformID" : "${apiReflexPlatformID}", + "datas" : + <#include "RFXtoRP_HsrCarrierApt_UpdateSlotAppointment.ftl"> + } + ] + <#break> - <#case "D"> <#-- *********************************************** Action = Delete ******************** --> <#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) />