Tracking HU labelled

This commit is contained in:
Laure Pascal 2023-10-20 09:28:44 +02:00
parent 9ac84ae63b
commit d9f9a4762a
2 changed files with 31 additions and 29 deletions

View File

@ -28,7 +28,10 @@
"datas" :
<#include "RFXtoRP_HsrPrepa_HandlingUnitDispatched.ftl">
}
<#if preparationOrder.preparation_line_lst.despatched_ipg.consignment_unit_id != ""> <#-- if le colis a un tracking - pb listes-->
<#list preparationOrder.preparation_line_lst?filter(l ->l.despatched_ipg_list??) as preparation_line>
<#list preparation_line.despatched_ipg_list as despatched_ipg>
<#if despatched_ipg.consignment_unit_id != "">
,
{
<#assign apiReflexPlatformID = ApiReflexPlatformID.TrackingHULabeled>
@ -37,6 +40,9 @@
<#include "RFXtoRP_HsrPrepa_TrackingHuLabelled.ftl">
}
</#if>
</#list>
</#list>
]
<#break>

View File

@ -1,8 +1,7 @@
<#include "HfRpConfig.ftl">
<#include "ReflexUtils.ftl">
[
<#list preparationOrder.preparation_line_lst?filter(l ->l.despatched_ipg_list??) as preparation_line>
<#list preparation_line.despatched_ipg_list as despatched_ipg>
{
"Header": {
"ProjectID": "${projectRP}"
@ -17,8 +16,5 @@
"HandlingunitID": "${despatched_ipg.hd_number}"
</#if>
}
}<#sep>,</#sep>
</#list>
<#sep>,</#sep>
</#list>
}
]