From 63a668340d408c5ff7f857c85608c08ea507f65a Mon Sep 17 00:00:00 2001 From: Laurie Montant Date: Mon, 8 Dec 2025 15:01:33 +0100 Subject: [PATCH] RDV --- RPtoRFX_CarrierAppointmentCreated.ftl | 15 +++++------- RPtoRFX_CarrierAppointmentUpdated.ftl | 35 +++++---------------------- 2 files changed, 12 insertions(+), 38 deletions(-) diff --git a/RPtoRFX_CarrierAppointmentCreated.ftl b/RPtoRFX_CarrierAppointmentCreated.ftl index cd043a7..1d06058 100644 --- a/RPtoRFX_CarrierAppointmentCreated.ftl +++ b/RPtoRFX_CarrierAppointmentCreated.ftl @@ -34,17 +34,14 @@ <#if appointment.Commissions??> "physical_receipt_list": [ <#list appointment.Commissions as commission> - { - "receipt_activity": "${eventRP.executionflowCustomFields.activity_code?json_string}", - "originator_code": "${eventRP.executionflowCustomFields.originator_code?json_string}", - "physical_receipt_reference": "${eventRP.executionflowCustomFields.reference?json_string}", - "receipt_year": "${eventRP.executionflowCustomFields.order_year?json_string}", - "receipt_number": "${eventRP.executionflowCustomFields.order_number?json_string}" - + { + "receipt_activity": "${eventRP.executionflowCustomFields.activity_code?json_string}", + "originator_code": "${eventRP.executionflowCustomFields.originator_code?json_string}", + "physical_receipt_reference": "${eventRP.executionflowCustomFields.reference?json_string}", + "receipt_year": "${eventRP.executionflowCustomFields.order_year?json_string}", + "receipt_number": "${eventRP.executionflowCustomFields.order_number?json_string}" } - <#sep>, - ], diff --git a/RPtoRFX_CarrierAppointmentUpdated.ftl b/RPtoRFX_CarrierAppointmentUpdated.ftl index 51d3803..907ef18 100644 --- a/RPtoRFX_CarrierAppointmentUpdated.ftl +++ b/RPtoRFX_CarrierAppointmentUpdated.ftl @@ -33,37 +33,14 @@ <#if appointment.Commissions??> "physical_receipt_list": [ <#list appointment.Commissions as commission> - <#-- { - "receipt_activity": "str", - "originator_code": "string", - "physical_receipt_reference": "string", - "receipt_year": 0, - "receipt_number": 0, - "comment_list": [ - { - "line_number": 999, - "group_code": "str", - "text": "string" - } - ] - - { - "ProjectID": "recette-rfxdev", - "OrderID": "SPA-121125-02", - "Quantities": [ - { - "UnitID": "PAL", - "Value": 1.0 - } - ], - "OrganisationID": "recette", - "PartnerAppID": "recette-rfxdev-rfxdev", - "ExecutionflowID": "DPFALIDEPT ALIMSPA-121125-02" - } + { + "receipt_activity": "${eventRP.executionflowCustomFields.activity_code?json_string}", + "originator_code": "${eventRP.executionflowCustomFields.originator_code?json_string}", + "physical_receipt_reference": "${eventRP.executionflowCustomFields.reference?json_string}", + "receipt_year": "${eventRP.executionflowCustomFields.order_year?json_string}", + "receipt_number": "${eventRP.executionflowCustomFields.order_number?json_string}" } - <#sep>, - --> ]