RDV
This commit is contained in:
parent
7c04741bc6
commit
ecc40ff1f5
@ -105,16 +105,17 @@
|
|||||||
<#include "RFXtoRP_HsrCarrierApt_Quantities.ftl">
|
<#include "RFXtoRP_HsrCarrierApt_Quantities.ftl">
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
<#if carrier_apt.unloading_appointment == "true" && carrier_apt.load_appointment == "true" && carrier_apt.appointment_designation?? && carrier_apt.appointment_designation!="">
|
<#if carrier_apt.unloading_appointment == "true" && carrier_apt.load_appointment == "true">
|
||||||
"Reason": "UNLOADING AND LOADING / ${carrier_apt.appointment_designation?json_string}",
|
"Reason": "UNLOADING AND LOADING / ${carrier_apt.appointment_designation?json_string}",
|
||||||
<#else>
|
<#else>
|
||||||
<#if carrier_apt.appointment_designation?? && carrier_apt.appointment_designation!="">
|
<#if carrier_apt.appointment_designation?? && carrier_apt.appointment_designation!="">
|
||||||
"Reason": "${carrier_apt.appointment_designation?json_string}",
|
"Reason": "${carrier_apt.appointment_designation?json_string}",
|
||||||
<#else>
|
<#else>
|
||||||
"Reason": "No commission",
|
"Reason": "${carrier_apt.appointment_reference?json_string}",
|
||||||
</#if>
|
</#if>
|
||||||
</#if>
|
</#if>
|
||||||
</#if>
|
</#if>
|
||||||
|
|
||||||
"Slots": [{
|
"Slots": [{
|
||||||
<#-- calcul de de la durée en fonction des start et end time-->
|
<#-- calcul de de la durée en fonction des start et end time-->
|
||||||
"DurationInSeconds": "${duration}",
|
"DurationInSeconds": "${duration}",
|
||||||
|
|||||||
@ -96,7 +96,22 @@
|
|||||||
</#list>
|
</#list>
|
||||||
],
|
],
|
||||||
<#else>
|
<#else>
|
||||||
<#stop>
|
"Commissions": [
|
||||||
|
{
|
||||||
|
"ActorID": "${RFXtoRPprefixDepot(carrier_apt.physical_depot?json_string)}",
|
||||||
|
"ProjectID": "${projectRP}",
|
||||||
|
<#include "RFXtoRP_HsrCarrierApt_Quantities.ftl">
|
||||||
|
}
|
||||||
|
],
|
||||||
|
<#if carrier_apt.unloading_appointment == "true" && carrier_apt.load_appointment == "true">
|
||||||
|
"Reason": "UNLOADING AND LOADING / ${carrier_apt.appointment_designation?json_string}",
|
||||||
|
<#else>
|
||||||
|
<#if carrier_apt.appointment_designation?? && carrier_apt.appointment_designation!="">
|
||||||
|
"Reason": "${carrier_apt.appointment_designation?json_string}",
|
||||||
|
<#else>
|
||||||
|
"Reason": "${carrier_apt.appointment_reference?json_string}",
|
||||||
|
</#if>
|
||||||
|
</#if>
|
||||||
</#if>
|
</#if>
|
||||||
"Slots": [{
|
"Slots": [{
|
||||||
<#-- calcul de de la durée en fonction des start et end time-->
|
<#-- calcul de de la durée en fonction des start et end time-->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user