This commit is contained in:
Laurie MONTANT 2025-12-22 15:09:49 +01:00
parent 82c4aea28e
commit a661bcc5e6
2 changed files with 3 additions and 3 deletions

View File

@ -28,7 +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}",
@ -42,7 +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 commission.entrySet()?filter(l ->l.value?? && l.value?has_content) as custom>
<#list eventRP.executionflowCustomFields.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}",