This commit is contained in:
Laurie MONTANT 2025-12-12 16:48:11 +01:00
parent 8f66226519
commit a4b2fb2eef

View File

@ -27,7 +27,7 @@
<#case "CommissionsUpdated"> <#case "CommissionsUpdated">
<#assign appointment = eventRP.data /> <#assign appointment = eventRP.data />
[ [
<#if eventRP.appointmentCustomFields?? && eventRP.appointmentCustomFields?size!=0> <#if eventRP.appointmentCustomFields?? && eventRP.appointmentCustomFields??has_content>
{ {
<#assign apiRestReflexID = ApiRestReflexID.appointment_post_physical_receipt_associations_by_number> <#assign apiRestReflexID = ApiRestReflexID.appointment_post_physical_receipt_associations_by_number>
"apiRestReflexID" : "${apiRestReflexID}", "apiRestReflexID" : "${apiRestReflexID}",
@ -48,7 +48,7 @@
<#case "SlotUpdated"> <#case "SlotUpdated">
<#assign appointment = eventRP.data /> <#assign appointment = eventRP.data />
[ [
<#if eventRP.appointmentCustomFields?? && eventRP.appointmentCustomFields?size!=0> <#if eventRP.appointmentCustomFields?? && eventRP.appointmentCustomFields??has_content>
{ {
<#assign apiRestReflexID = ApiRestReflexID.appointment_put_update_by_number> <#assign apiRestReflexID = ApiRestReflexID.appointment_put_update_by_number>
"apiRestReflexID" : "${apiRestReflexID}", "apiRestReflexID" : "${apiRestReflexID}",
@ -69,7 +69,7 @@
<#case "Canceled"> <#case "Canceled">
<#assign appointment = eventRP.data /> <#assign appointment = eventRP.data />
[ [
<#if eventRP.appointmentCustomFields?? && eventRP.appointmentCustomFields?size!=0> <#if eventRP.appointmentCustomFields?? && eventRP.appointmentCustomFields?has_content>
{ {
<#assign apiRestReflexID = ApiRestReflexID.status_appointment_put_update_by_number> <#assign apiRestReflexID = ApiRestReflexID.status_appointment_put_update_by_number>
"apiRestReflexID" : "${apiRestReflexID}", "apiRestReflexID" : "${apiRestReflexID}",