This commit is contained in:
Laurie MONTANT 2025-12-01 13:34:15 +01:00
parent ff28804bd5
commit b259f1762f
2 changed files with 19 additions and 3 deletions

View File

@ -43,11 +43,27 @@
</#if>
</#if>
"AppointmentType": "${appointmentType}",
"Emails": [], <#-- à changer -->
"Emails": [${carrier_apt.creation_user_email?json_string}],
"CustomFields": [
{
"Key": "activite",
"Key": "depot",
"Value": "${carrier_apt.physical_depot?json_string}"
},
{
"Key": "year",
"Value": "${carrier_apt.year_number?json_string}"
},
{
"Key": "number",
"Value": "${carrier_apt.appointment_number?json_string}"
},
{
"Key": "reference",
"Value": "${carrier_apt.appointment_reference?json_string}"
},
{
"Key": "carrier",
"Value": "${carrier_apt.planned_carrier?json_string}"
}
],
"SegmentationSelections":[ <#-- intégrer les SK par la suite -->

View File

@ -43,7 +43,7 @@
</#if>
</#if>
"ActorID": "${RFXtoRPprefixDepot(carrier_apt.physical_depot?json_string)}",
"Emails": ["francis.reat@hardis-group.com","laurie.montant@hardis-group.com"], <#-- à changer -->
"Emails": [${carrier_apt.creation_user_email?json_string}],
<#if carrier_apt.physical_receipt_list?? && (carrier_apt.physical_receipt_list?filter(l ->l??)?size != 0)>
"Commissions": [
<#list carrier_apt.physical_receipt_list?filter(l ->l??) as physical_receipt>