This commit is contained in:
Laurie MONTANT 2025-12-10 11:10:47 +01:00
parent 65b34e6fe4
commit 26e143efb0
2 changed files with 4 additions and 5 deletions

View File

@ -34,16 +34,15 @@
<#if appointment.Commissions??> <#if appointment.Commissions??>
"physical_receipt_list": [ "physical_receipt_list": [
<#list appointment.Commissions as commission> <#list appointment.Commissions as commission>
{
<#list eventRP.executionflowCustomFields.entrySet() as custom> <#list eventRP.executionflowCustomFields.entrySet() as custom>
{
"receipt_activity": "${custom.value.activity_code?json_string}", "receipt_activity": "${custom.value.activity_code?json_string}",
"originator_code": "${custom.value.originator_code?json_string}", "originator_code": "${custom.value.originator_code?json_string}",
"physical_receipt_reference": "${custom.value.reference?json_string}", "physical_receipt_reference": "${custom.value.reference?json_string}",
"receipt_year": "${custom.value.order_year?json_string}", "receipt_year": "${custom.value.order_year?json_string}",
"receipt_number": "${custom.value.order_number?json_string}" "receipt_number": "${custom.value.order_number?json_string}"
</#list>
} }
</#list>
<#sep>,</#sep> <#sep>,</#sep>
</#list> </#list>
], ],

View File

@ -11,15 +11,15 @@
<#if appointment.Commissions??> <#if appointment.Commissions??>
"physical_receipt_list": [ "physical_receipt_list": [
<#list appointment.Commissions as commission> <#list appointment.Commissions as commission>
{
<#list eventRP.executionflowCustomFields.entrySet() as custom> <#list eventRP.executionflowCustomFields.entrySet() as custom>
{
"receipt_activity": "${custom.value.activity_code?json_string}", "receipt_activity": "${custom.value.activity_code?json_string}",
"originator_code": "${custom.value.originator_code?json_string}", "originator_code": "${custom.value.originator_code?json_string}",
"physical_receipt_reference": "${custom.value.reference?json_string}", "physical_receipt_reference": "${custom.value.reference?json_string}",
"receipt_year": "${custom.value.order_year?json_string}", "receipt_year": "${custom.value.order_year?json_string}",
"receipt_number": "${custom.value.order_number?json_string}" "receipt_number": "${custom.value.order_number?json_string}"
</#list>
} }
</#list>
<#sep>,</#sep> <#sep>,</#sep>
</#list> </#list>
] ]