Modifs hsrprepaGP

This commit is contained in:
Laurie MONTANT 2024-02-06 15:00:52 +01:00
parent 387721fd82
commit eedd7cb16a

View File

@ -38,20 +38,22 @@
</#if> </#if>
<#else> <#else>
"ContainerType": "${despatched_ipg.hd_type_code}", "ContainerType": "${despatched_ipg.hd_type_code}",
<#list preparation_line.despatched_hds_list?filter(j ->j.handling_device_number==despatched_ipg.handling_device_number) as dimensionHU> <#if preparation_line.despatched_hds_list??>
"Length": { <#list preparation_line.despatched_hds_list?filter(j ->j.handling_device_number==despatched_ipg.hd_number) as dimensionHU>
"Unit": "${length_unit_rfx}", "Length": {
"Value": "${dimensionHU.hd_type_depth}" "Unit": "${length_unit_rfx}",
"Value": "${dimensionHU.hd_type_depth}"
}, },
"Weight": { "Weight": {
"Unit": "${weight_unit_rfx}", "Unit": "${weight_unit_rfx}",
"Value": "${dimensionHU.hd_gross_weight}" "Value": "${dimensionHU.hd_gross_weight}"
}, },
"Width": { "Width": {
"Unit": "${length_unit_rfx}", "Unit": "${length_unit_rfx}",
"Value": "${dimensionHU.hd_type_width}" "Value": "${dimensionHU.hd_type_width}"
} }
</#list> </#list>
</#if>
</#if> </#if>
}, },