RDV
This commit is contained in:
parent
cd7f2ecb22
commit
34133aabec
@ -8,17 +8,13 @@
|
||||
"payload" :
|
||||
{
|
||||
"appointment_reference": "${eventRP.refid?json_string}",
|
||||
|
||||
<#switch appointment.AppointmentType>
|
||||
<#case "APPOINTMENT_TYPE_LOADING">
|
||||
|
||||
"unloading_appointment" : "false",
|
||||
"load_appointment" : "true",
|
||||
"planned_load_start_datetime" : "${DateTimeUTCtoRfxLocale(appointment.Slot.StartDateTime,time_zone_rfx)}",
|
||||
"planned_load_end_datetime": "${AddSecondsToDatetime(appointment.Slot.StartDateTime?datetime.iso,appointment.Slot.DurationInSeconds?number)?iso_nz(time_zone_rfx)}",
|
||||
|
||||
<#break>
|
||||
|
||||
<#case "APPOINTMENT_TYPE_UNLOADING">
|
||||
"unloading_appointment" : "true",
|
||||
"load_appointment" : "false",
|
||||
@ -28,9 +24,7 @@
|
||||
<#default>
|
||||
<#stop "appointment.AppointmentType not implemented" >
|
||||
</#switch>
|
||||
|
||||
"planned_carrier" : "ABAN", <#-- "${appointment.CarrierName?json_string}", -->
|
||||
|
||||
<#include "RPtoRFX_CarrierAppointmentDefaultData.ftl">
|
||||
<#if appointment.Commissions??>
|
||||
<#if appointment.AppointmentType == "APPOINTMENT_TYPE_UNLOADING">
|
||||
<#if appointment.Commissions.OrderID ?? && appointment.Commissions.OrderID!="">
|
||||
@ -59,10 +53,7 @@
|
||||
</#if>
|
||||
</#if>
|
||||
</#if>
|
||||
|
||||
</#if>
|
||||
"constant_appointment": "false"
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
0
RPtoRFX_CarrierAppointmentDefaultData.ftl
Normal file
0
RPtoRFX_CarrierAppointmentDefaultData.ftl
Normal file
Loading…
x
Reference in New Issue
Block a user