RDV
This commit is contained in:
parent
4faf7a3753
commit
72143d38bd
@ -28,7 +28,6 @@
|
|||||||
<#assign appointment = eventRP.data />
|
<#assign appointment = eventRP.data />
|
||||||
[
|
[
|
||||||
<#if eventRP.appointmentCustomFields?has_content>
|
<#if eventRP.appointmentCustomFields?has_content>
|
||||||
|
|
||||||
{
|
{
|
||||||
<#assign apiRestReflexID = ApiRestReflexID.appointment_post_physical_receipt_associations_by_number>
|
<#assign apiRestReflexID = ApiRestReflexID.appointment_post_physical_receipt_associations_by_number>
|
||||||
"apiRestReflexID" : "${apiRestReflexID}",
|
"apiRestReflexID" : "${apiRestReflexID}",
|
||||||
@ -42,7 +41,6 @@
|
|||||||
"datas" :
|
"datas" :
|
||||||
<#include "RPtoRFX_CarrierAppointmentPhysicalReceiptAssociationByRef.ftl">
|
<#include "RPtoRFX_CarrierAppointmentPhysicalReceiptAssociationByRef.ftl">
|
||||||
}
|
}
|
||||||
|
|
||||||
</#if>
|
</#if>
|
||||||
]
|
]
|
||||||
<#break>
|
<#break>
|
||||||
|
|||||||
@ -12,15 +12,25 @@
|
|||||||
<#case "APPOINTMENT_TYPE_LOADING">
|
<#case "APPOINTMENT_TYPE_LOADING">
|
||||||
"unloading_appointment" : "false",
|
"unloading_appointment" : "false",
|
||||||
"load_appointment" : "true",
|
"load_appointment" : "true",
|
||||||
"planned_load_start_datetime" : "${DateTimeUTCtoRfxLocale(RfxDateTimetoUTCWithTimezone(appointment.Slot.StartDateTime,appointment.TimeZone),time_zone_rfx)}",
|
<#if appointment.TimeZone?? && appointment.TimeZone!="">
|
||||||
"planned_load_end_datetime": "${DateTimeUTCtoRfxLocale(RfxDateTimetoUTCWithTimezone(appointment.Slot.EndDateTime,appointment.TimeZone),time_zone_rfx)}",
|
"planned_load_start_datetime" : "${DateTimeUTCtoRfxLocale(RfxDateTimetoUTCWithTimezone(appointment.Slot.StartDateTime,appointment.TimeZone),time_zone_rfx)}",
|
||||||
<#break>
|
"planned_load_end_datetime": "${DateTimeUTCtoRfxLocale(RfxDateTimetoUTCWithTimezone(appointment.Slot.EndDateTime,appointment.TimeZone),time_zone_rfx)}",
|
||||||
|
<#else>
|
||||||
|
"planned_load_start_datetime" : "${DateTimeUTCtoRfxLocale(RfxDateTimetoUTCWithTimezone(appointment.Slot.StartDateTime,time_zone_rfx),time_zone_rfx)}",
|
||||||
|
"planned_load_end_datetime": "${DateTimeUTCtoRfxLocale(RfxDateTimetoUTCWithTimezone(appointment.Slot.EndDateTime,time_zone_rfx),time_zone_rfx)}",
|
||||||
|
<#if>
|
||||||
|
<#break>
|
||||||
<#case "APPOINTMENT_TYPE_UNLOADING">
|
<#case "APPOINTMENT_TYPE_UNLOADING">
|
||||||
"unloading_appointment" : "true",
|
"unloading_appointment" : "true",
|
||||||
"load_appointment" : "false",
|
"load_appointment" : "false",
|
||||||
"planned_unloading_start_datetime" : "${DateTimeUTCtoRfxLocale(RfxDateTimetoUTCWithTimezone(appointment.Slot.StartDateTime,time_zone_rfx),time_zone_rfx)}",
|
<#if appointment.TimeZone?? && appointment.TimeZone!="">
|
||||||
"planned_unloading_end_datetime" : "${DateTimeUTCtoRfxLocale(RfxDateTimetoUTCWithTimezone(appointment.Slot.EndDateTime,appointment.TimeZone),time_zone_rfx)}",
|
"planned_unloading_start_datetime":"${DateTimeUTCtoRfxLocale(RfxDateTimetoUTCWithTimezone(appointment.Slot.StartDateTime,appointment.TimeZone),time_zone_rfx)}",
|
||||||
<#break>
|
"planned_unloading_end_datetime" : "${DateTimeUTCtoRfxLocale(RfxDateTimetoUTCWithTimezone(appointment.Slot.EndDateTime,appointment.TimeZone),time_zone_rfx)}",
|
||||||
|
<#else>
|
||||||
|
"planned_unloading_start_datetime":"${DateTimeUTCtoRfxLocale(RfxDateTimetoUTCWithTimezone(appointment.Slot.StartDateTime,appointment.TimeZone),time_zone_rfx)}",
|
||||||
|
"planned_unloading_end_datetime" : "${DateTimeUTCtoRfxLocale(RfxDateTimetoUTCWithTimezone(appointment.Slot.EndDateTime,appointment.TimeZone),time_zone_rfx)}",
|
||||||
|
<#if>
|
||||||
|
<#break>
|
||||||
<#default>
|
<#default>
|
||||||
<#stop "appointment.AppointmentType not implemented" >
|
<#stop "appointment.AppointmentType not implemented" >
|
||||||
</#switch>
|
</#switch>
|
||||||
|
|||||||
@ -13,15 +13,25 @@
|
|||||||
<#case "APPOINTMENT_TYPE_LOADING">
|
<#case "APPOINTMENT_TYPE_LOADING">
|
||||||
"unloading_appointment" : "false",
|
"unloading_appointment" : "false",
|
||||||
"load_appointment" : "true",
|
"load_appointment" : "true",
|
||||||
"planned_load_start_datetime" : "${DateTimeUTCtoRfxLocale(RfxDateTimetoUTCWithTimezone(appointment.Slot.StartDateTime,appointment.TimeZone),time_zone_rfx)}",
|
<#if appointment.TimeZone?? && appointment.TimeZone!="">
|
||||||
"planned_load_end_datetime": "${DateTimeUTCtoRfxLocale(RfxDateTimetoUTCWithTimezone(appointment.Slot.EndDateTime,appointment.TimeZone),time_zone_rfx)}",
|
"planned_load_start_datetime" : "${DateTimeUTCtoRfxLocale(RfxDateTimetoUTCWithTimezone(appointment.Slot.StartDateTime,appointment.TimeZone),time_zone_rfx)}",
|
||||||
|
"planned_load_end_datetime": "${DateTimeUTCtoRfxLocale(RfxDateTimetoUTCWithTimezone(appointment.Slot.EndDateTime,appointment.TimeZone),time_zone_rfx)}",
|
||||||
|
<#else>
|
||||||
|
"planned_load_start_datetime" : "${DateTimeUTCtoRfxLocale(RfxDateTimetoUTCWithTimezone(appointment.Slot.StartDateTime,time_zone_rfx),time_zone_rfx)}",
|
||||||
|
"planned_load_end_datetime": "${DateTimeUTCtoRfxLocale(RfxDateTimetoUTCWithTimezone(appointment.Slot.EndDateTime,time_zone_rfx),time_zone_rfx)}",
|
||||||
|
<#if>
|
||||||
<#break>
|
<#break>
|
||||||
<#case "APPOINTMENT_TYPE_UNLOADING">
|
<#case "APPOINTMENT_TYPE_UNLOADING">
|
||||||
"unloading_appointment" : "true",
|
"unloading_appointment" : "true",
|
||||||
"load_appointment" : "false",
|
"load_appointment" : "false",
|
||||||
"planned_unloading_start_datetime":"${DateTimeUTCtoRfxLocale(RfxDateTimetoUTCWithTimezone(appointment.Slot.StartDateTime,appointment.TimeZone),time_zone_rfx)}",
|
<#if appointment.TimeZone?? && appointment.TimeZone!="">
|
||||||
"planned_unloading_end_datetime" : "${DateTimeUTCtoRfxLocale(RfxDateTimetoUTCWithTimezone(appointment.Slot.EndDateTime,appointment.TimeZone),time_zone_rfx)}",
|
"planned_unloading_start_datetime":"${DateTimeUTCtoRfxLocale(RfxDateTimetoUTCWithTimezone(appointment.Slot.StartDateTime,appointment.TimeZone),time_zone_rfx)}",
|
||||||
<#break>
|
"planned_unloading_end_datetime" : "${DateTimeUTCtoRfxLocale(RfxDateTimetoUTCWithTimezone(appointment.Slot.EndDateTime,appointment.TimeZone),time_zone_rfx)}",
|
||||||
|
<#else>
|
||||||
|
"planned_unloading_start_datetime":"${DateTimeUTCtoRfxLocale(RfxDateTimetoUTCWithTimezone(appointment.Slot.StartDateTime,appointment.TimeZone),time_zone_rfx)}",
|
||||||
|
"planned_unloading_end_datetime" : "${DateTimeUTCtoRfxLocale(RfxDateTimetoUTCWithTimezone(appointment.Slot.EndDateTime,appointment.TimeZone),time_zone_rfx)}",
|
||||||
|
<#if>
|
||||||
|
<#break>
|
||||||
<#default>
|
<#default>
|
||||||
<#stop "appointment.AppointmentType not implemented" >
|
<#stop "appointment.AppointmentType not implemented" >
|
||||||
</#switch>
|
</#switch>
|
||||||
|
|||||||
@ -12,15 +12,25 @@
|
|||||||
<#case "APPOINTMENT_TYPE_LOADING">
|
<#case "APPOINTMENT_TYPE_LOADING">
|
||||||
"unloading_appointment" : "false",
|
"unloading_appointment" : "false",
|
||||||
"load_appointment" : "true",
|
"load_appointment" : "true",
|
||||||
"planned_load_start_datetime" : "${DateTimeUTCtoRfxLocale(RfxDateTimetoUTCWithTimezone(appointment.Slot.StartDateTime,appointment.TimeZone),time_zone_rfx)}",
|
<#if appointment.TimeZone?? && appointment.TimeZone!="">
|
||||||
"planned_load_end_datetime": "${DateTimeUTCtoRfxLocale(RfxDateTimetoUTCWithTimezone(appointment.Slot.EndDateTime,appointment.TimeZone),time_zone_rfx)}",
|
"planned_load_start_datetime" : "${DateTimeUTCtoRfxLocale(RfxDateTimetoUTCWithTimezone(appointment.Slot.StartDateTime,appointment.TimeZone),time_zone_rfx)}",
|
||||||
<#break>
|
"planned_load_end_datetime": "${DateTimeUTCtoRfxLocale(RfxDateTimetoUTCWithTimezone(appointment.Slot.EndDateTime,appointment.TimeZone),time_zone_rfx)}",
|
||||||
<#case "APPOINTMENT_TYPE_UNLOADING">
|
<#else>
|
||||||
|
"planned_load_start_datetime" : "${DateTimeUTCtoRfxLocale(RfxDateTimetoUTCWithTimezone(appointment.Slot.StartDateTime,time_zone_rfx),time_zone_rfx)}",
|
||||||
|
"planned_load_end_datetime": "${DateTimeUTCtoRfxLocale(RfxDateTimetoUTCWithTimezone(appointment.Slot.EndDateTime,time_zone_rfx),time_zone_rfx)}",
|
||||||
|
<#if>
|
||||||
|
<#break>
|
||||||
|
<#case "APPOINTMENT_TYPE_UNLOADING">
|
||||||
"unloading_appointment" : "true",
|
"unloading_appointment" : "true",
|
||||||
"load_appointment" : "false",
|
"load_appointment" : "false",
|
||||||
"planned_unloading_start_datetime":"${DateTimeUTCtoRfxLocale(RfxDateTimetoUTCWithTimezone(appointment.Slot.StartDateTime,appointment.TimeZone),time_zone_rfx)}",
|
<#if appointment.TimeZone?? && appointment.TimeZone!="">
|
||||||
"planned_unloading_end_datetime": "${DateTimeUTCtoRfxLocale(RfxDateTimetoUTCWithTimezone(appointment.Slot.EndDateTime,appointment.TimeZone),time_zone_rfx)}",
|
"planned_unloading_start_datetime":"${DateTimeUTCtoRfxLocale(RfxDateTimetoUTCWithTimezone(appointment.Slot.StartDateTime,appointment.TimeZone),time_zone_rfx)}",
|
||||||
<#break>
|
"planned_unloading_end_datetime" : "${DateTimeUTCtoRfxLocale(RfxDateTimetoUTCWithTimezone(appointment.Slot.EndDateTime,appointment.TimeZone),time_zone_rfx)}",
|
||||||
|
<#else>
|
||||||
|
"planned_unloading_start_datetime":"${DateTimeUTCtoRfxLocale(RfxDateTimetoUTCWithTimezone(appointment.Slot.StartDateTime,appointment.TimeZone),time_zone_rfx)}",
|
||||||
|
"planned_unloading_end_datetime" : "${DateTimeUTCtoRfxLocale(RfxDateTimetoUTCWithTimezone(appointment.Slot.EndDateTime,appointment.TimeZone),time_zone_rfx)}",
|
||||||
|
<#if>
|
||||||
|
<#break>
|
||||||
<#default>
|
<#default>
|
||||||
<#stop "appointment.AppointmentType not implemented" >
|
<#stop "appointment.AppointmentType not implemented" >
|
||||||
</#switch>
|
</#switch>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user