From 828fe74f5bf6fd5de92c692307237e147c0e1f72 Mon Sep 17 00:00:00 2001 From: Laurie Montant Date: Wed, 6 Aug 2025 11:03:31 +0200 Subject: [PATCH] controle line-list --- RFXtoRP_HsrReceiptList.ftl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/RFXtoRP_HsrReceiptList.ftl b/RFXtoRP_HsrReceiptList.ftl index 16f8e99..fa5c49a 100644 --- a/RFXtoRP_HsrReceiptList.ftl +++ b/RFXtoRP_HsrReceiptList.ftl @@ -142,6 +142,7 @@ <#-- *********************************************** Action = DELETE ******************** --> <#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) /> <#assign receipt = JsonUtil.jsonToMap(dataRfx)> + <#if receipt.line_list ??> [ { @@ -151,6 +152,9 @@ <#include "RFXtoRP_HsrReceiptList_ExecutionflowCancelled.ftl"> } ] + <#else> + <#stop> <#-- No line--> + <#break>