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

View File

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

View File

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