Modifs 2012231044

This commit is contained in:
2023-12-20 10:44:03 +01:00
parent cb1793bf22
commit e319d273bb
2 changed files with 52 additions and 2 deletions

View File

@@ -47,6 +47,7 @@
</#if>
<#list preparationOrder.preparation_line_lst?filter(l ->l.despatched_ipg_list??) as preparation_line>
<#list preparation_line.despatched_ipg_list as despatched_ipg>
{
@@ -54,8 +55,23 @@
"apiReflexPlatformID" : "${apiReflexPlatformID}",
"datas" :
<#include "RFXtoRP_HsrPrepa_TrackingHuLabelled.ftl">
}
},
<#if despatched_ipg.carton_number != "000000000000000000" && despatched_ipg.carton_number!=despatched_ipg.hd_number >
{
<#assign includeHU = []>
<#list preparation_line.despatched_ipg_list as despatched_ipg2>
<#if despatched_ipg.hd_number == despatched_ipg2.hd_number >
<#assign includeHU += ["despatched_ipg2.carton_number"]
</#if>
</#list>
<#assign apiReflexPlatformID = ApiReflexPlatformID.HandlingunitHUsAdded>
"apiReflexPlatformID" : "${apiReflexPlatformID}",
"datas" :
<#include "RFXtoRP_HsrPrepa_HandlingunitHUsAdded.ftl">
}
</#if>
</#list>
</#list>