From fcfb9206c0784ddb6715dffc7db886f2c36197ad Mon Sep 17 00:00:00 2001 From: Laurie Montant Date: Thu, 28 Dec 2023 10:48:31 +0100 Subject: [PATCH] Modifs 2812231048 --- RFXtoRP_HsrPrepa_HandlingunitHUsAdded.ftl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/RFXtoRP_HsrPrepa_HandlingunitHUsAdded.ftl b/RFXtoRP_HsrPrepa_HandlingunitHUsAdded.ftl index d0d5ded..e3fe773 100644 --- a/RFXtoRP_HsrPrepa_HandlingunitHUsAdded.ftl +++ b/RFXtoRP_HsrPrepa_HandlingunitHUsAdded.ftl @@ -12,8 +12,10 @@ "Payload": { -"IncludedHandlingunitIDs": [ <#list includeHU as hu> "${hu}"<#sep>,], +"IncludedHandlingunitIDs": [ <#list includeHU as hu> "${hu}"<#sep>,] "Information": { + <#if preparation_line.despatched_hds_list?? > + , "ContainerType": "${preparation_line.despatched_hds_list[0].hd_type_code}", "Length": { "Unit": "${length_unit_rfx}", @@ -27,6 +29,7 @@ "Unit": "${length_unit_rfx}", "Value": ${preparation_line.despatched_hds_list[0].hd_type_width} } + } }