This commit is contained in:
Laurie MONTANT 2025-12-22 16:07:50 +01:00
parent 613cfcd377
commit a3fc98c8d9
3 changed files with 4 additions and 2 deletions

View File

@ -28,6 +28,7 @@
<#assign appointment = eventRP.data />
[
<#if eventRP.appointmentCustomFields?has_content>
<#list eventRP.executionflowCustomFields as commission>
{
<#assign apiRestReflexID = ApiRestReflexID.appointment_post_physical_receipt_associations_by_number>
"apiRestReflexID" : "${apiRestReflexID}",
@ -41,6 +42,7 @@
"datas" :
<#include "RPtoRFX_CarrierAppointmentPhysicalReceiptAssociationByRef.ftl">
}
</#list>
</#if>
]
<#break>

View File

@ -12,7 +12,7 @@
<#if appointment.Commissions??>
<#if appointment.AppointmentType == "APPOINTMENT_TYPE_UNLOADING">
"physical_receipt_list": [
<#list eventRP.executionflowCustomFields.entrySet()?filter(l ->l.value?? && l.value?has_content) as custom>
<#list commission.entrySet()?filter(l ->l.value?? && l.value?has_content) as custom>
{
"receipt_activity": "${custom.value.activity_code?json_string}",
"originator_code": "${custom.value.originator_code?json_string}",

View File

@ -11,7 +11,7 @@
<#if appointment.Commissions??>
<#if appointment.AppointmentType == "APPOINTMENT_TYPE_UNLOADING">
"physical_receipt_list": [
<#list eventRP.executionflowCustomFields.entrySet()?filter(l ->l.value?? && l.value?has_content) as custom>
<#list commission.entrySet()?filter(l ->l.value?? && l.value?has_content) as custom>
{
"receipt_activity": "${custom.value.activity_code?json_string}",
"originator_code": "${custom.value.originator_code?json_string}",