SCPN1-10100

This commit is contained in:
2026-01-27 14:31:24 +01:00
parent b68855504a
commit 91467086c4
5 changed files with 8 additions and 5 deletions

View File

@@ -71,21 +71,22 @@
<#assign apiRestReflexID = ApiRestReflexID.appointment_put_update_by_number> <#assign apiRestReflexID = ApiRestReflexID.appointment_put_update_by_number>
"apiRestReflexID" : "${apiRestReflexID}", "apiRestReflexID" : "${apiRestReflexID}",
"datas" : "datas" :
<#include "RPtoRFX_CarrierAppointmentUpdatedByNumber.ftl"> <#include "RPtoRFX_CarrierAppointmentReasonUpdatedByNumber.ftl">
} }
<#else> <#else>
{ {
<#assign apiRestReflexID = ApiRestReflexID.appointment_put_update_by_ref> <#assign apiRestReflexID = ApiRestReflexID.appointment_put_update_by_ref>
"apiRestReflexID" : "${apiRestReflexID}", "apiRestReflexID" : "${apiRestReflexID}",
"datas" : "datas" :
<#include "RPtoRFX_CarrierAppointmentUpdatedByRef.ftl"> <#include "RPtoRFX_CarrierAppointmentReasonUpdatedByRef.ftl">
} }
</#if> </#if>
</#if> </#if>
] ]
<#break> <#break>
<#-- *********************************************** Action = SlotUpdated ******************** --> <#-- *********************************************** Action = SlotUpdated or CarrierInformationUpdated ******************** -->
<#case "SlotUpdated"> <#case "SlotUpdated">
<#case "CarrierInformationUpdated">
<#assign appointment = eventRP.data /> <#assign appointment = eventRP.data />
[ [
<#if eventRP.appointmentCustomFields?has_content> <#if eventRP.appointmentCustomFields?has_content>
@@ -93,7 +94,7 @@
<#assign apiRestReflexID = ApiRestReflexID.appointment_put_update_by_number> <#assign apiRestReflexID = ApiRestReflexID.appointment_put_update_by_number>
"apiRestReflexID" : "${apiRestReflexID}", "apiRestReflexID" : "${apiRestReflexID}",
"datas" : "datas" :
<#include "RPtoRFX_CarrierAppointmentSlotUpdatedByNumber.ftl"> <#include "RPtoRFX_CarrierAppointmentSlotOrCarrierInformationUpdatedByNumber.ftl">
} }
<#else> <#else>
{ {
@@ -105,7 +106,7 @@
</#if> </#if>
] ]
<#break> <#break>
<#-- *********************************************** Action = SlotUpdated ******************** --> <#-- *********************************************** Action = Canceled ******************** -->
<#case "Canceled"> <#case "Canceled">
<#assign appointment = eventRP.data /> <#assign appointment = eventRP.data />
[ [

View File

@@ -35,6 +35,7 @@
<#default> <#default>
<#stop "appointment.AppointmentType not implemented" > <#stop "appointment.AppointmentType not implemented" >
</#switch> </#switch>
<#include "RPtoRFX_CarrierAppointmentDataUpdated.ftl">
"appointment_designation":"${(appointment.Reason!"")!?json_string}" "appointment_designation":"${(appointment.Reason!"")!?json_string}"
} }
} }

View File

@@ -34,6 +34,7 @@
<#default> <#default>
<#stop "appointment.AppointmentType not implemented" > <#stop "appointment.AppointmentType not implemented" >
</#switch> </#switch>
<#include "RPtoRFX_CarrierAppointmentDataUpdated.ftl">
"appointment_designation":"${(appointment.Reason!"")!?json_string}" "appointment_designation":"${(appointment.Reason!"")!?json_string}"
} }
} }