This commit is contained in:
2023-09-01 17:26:41 +02:00
parent c3ce993e13
commit 4f9ea8f422
2 changed files with 25 additions and 52 deletions

View File

@@ -15,7 +15,6 @@
<#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) />
<#assign receipt = JsonUtil.jsonToMap(dataRfx)>
[
<#if receipt.line_list?? >
{
<#assign apiReflexPlatformID = ApiReflexPlatformID.ExecutionflowDetected>
"apiReflexPlatformID" : "${apiReflexPlatformID}",
@@ -23,10 +22,6 @@
<#include "RFXtoRP_HsrReceiptList_ExecutionflowDetected.ftl">
}
<#else>
<#stop "Reception without lines">
</#if>
]
<#break>
<#case "U">
@@ -42,16 +37,12 @@
<#include "RFXtoRP_HsrReceiptList_ReceiptCompleted.ftl">
}
<#else>
<#if receipt.line_list?? >
{
<#assign apiReflexPlatformID = ApiReflexPlatformID.ExecutionflowDetected>
"apiReflexPlatformID" : "${apiReflexPlatformID}",
"datas" :
<#include "RFXtoRP_HsrReceiptList_ExecutionflowDetected.ftl">
}
<#else>
<#stop "Reception without lines">
</#if>
</#if>
]
<#break>