SCPN1-10402

This commit is contained in:
2026-04-03 14:30:18 +02:00
parent 20437cace5
commit 4e3162556c
3 changed files with 9 additions and 3 deletions

View File

@@ -119,7 +119,11 @@
}] }]
}, },
<#else> <#else>
"Loading" : <#if appointmentType == AppointmentType.APPOINTMENT_TYPE_UNLOADING>
"Unloading" :
<#else>
"Loading" :
</#if>
{ {
"Projects" : [{ "Projects" : [{
"Commissions": [{ "Commissions": [{
@@ -128,7 +132,7 @@
"PartnerAppID": "${partnerApplicationRP}", "PartnerAppID": "${partnerApplicationRP}",
"OrganisationID": "${organisationRP}" "OrganisationID": "${organisationRP}"
}], }],
"ProjectID" : "${projectRP}:${RFXtoRPprefixDepot(carrier_apt.physical_depot?json_string)}" "ProjectID" : "${projectRP}"
}] }]
}, },
<#if carrier_apt.unloading_appointment == "true" && carrier_apt.load_appointment == "true"> <#if carrier_apt.unloading_appointment == "true" && carrier_apt.load_appointment == "true">

View File

@@ -114,6 +114,7 @@
"ProjectID" : "${projectRP}" "ProjectID" : "${projectRP}"
}] }]
}, },
"Reason": "",
<#else> <#else>
<#if carrier_apt.unloading_appointment == "true" && carrier_apt.load_appointment == "true"> <#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}",

View File

@@ -51,7 +51,8 @@
} }
<#sep>,</#sep> <#sep>,</#sep>
</#list> </#list>
</#list> <#sep>,</#sep>
</#list>
], ],
<#else> <#else>
"appointment_designation":"${(appointment.Reason!"")!?json_string}", "appointment_designation":"${(appointment.Reason!"")!?json_string}",