diff --git a/RFXtoRP_HsrPro.ftl b/RFXtoRP_HsrPro.ftl index b073207..3b2e00c 100644 --- a/RFXtoRP_HsrPro.ftl +++ b/RFXtoRP_HsrPro.ftl @@ -18,8 +18,7 @@ [ { <#-- check preparation type code (internal order and reservation are ignored) --> - <#if order.preparation_type_code == "010" || - order.preparation_type_code == "030"> + <#if order.preparation_type_code == "010" || order.preparation_type_code == "030"> <#-- Only if preparation order not confirmed --> <#if order.preparation_order_confirmed == "false" > @@ -27,6 +26,8 @@ "apiReflexPlatformID" : "${apiReflexPlatformID}", "datas" : <#include "RFXtoRP_HsrPro_ExecutionflowDetected.ftl"> + <#else> + <#stop "preparation already confirmed"> <#else>