You've already forked reflex-wms-connector
changement de statut uniquement sur HsrProStatus
This commit is contained in:
@@ -19,26 +19,19 @@
|
||||
{
|
||||
<#-- check preparation type code (internal order and reservation are ignored) -->
|
||||
<#if order.preparation_type_code == "010" ||
|
||||
order.preparation_type_code == "030">
|
||||
order.preparation_type_code == "030">
|
||||
|
||||
<#-- Preparation order not confirmed -->
|
||||
<#-- Only if preparation order not confirmed -->
|
||||
<#if order.preparation_order_confirmed == "false" >
|
||||
<#assign apiReflexPlatformID = ApiReflexPlatformID.ExecutionflowDetected>
|
||||
"apiReflexPlatformID" : "${apiReflexPlatformID}",
|
||||
"datas" :
|
||||
<#include "RFXtoRP_HsrPro_ExecutionflowDetected.ftl">
|
||||
|
||||
<#-- Preparation order confirmed -->
|
||||
<#else>
|
||||
<#assign apiReflexPlatformID = ApiReflexPlatformID.PreparationCompleted>
|
||||
"apiReflexPlatformID" : "${apiReflexPlatformID}",
|
||||
"datas" :
|
||||
<#include "RFXtoRP_HsrPro_PreparationCompleted.ftl">
|
||||
<#include "RFXtoRP_HsrPro_ExecutionflowDetected.ftl">
|
||||
</#if>
|
||||
|
||||
<#else>
|
||||
<#stop "preparation type not supported">
|
||||
</#if>
|
||||
|
||||
</#if>
|
||||
}
|
||||
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user