This commit is contained in:
2024-09-17 10:25:53 +02:00
parent 956105fc38
commit c05a4653ba
20 changed files with 113 additions and 288 deletions

View File

@@ -1,5 +1,6 @@
<#include "ReflexUtils.ftl">
<#include "HfRpConfig.ftl">
<#include "ActorPrefix.ftl">
[
<#list reflexStockPicturesInterface.detailled_stock_list as stock>
{
@@ -7,18 +8,10 @@
"ProjectID": "${projectRP}"
},
"Payload": {
<#if text_language_rfx="fr">
<#if uniqueness?? && uniqueness!="" >
"ActorID": "${stock.physical_depot_code}",
<#else>
"ActorID": "DEP${stock.physical_depot_code}",
</#if>
<#else>
<#if uniqueness?? && uniqueness!="" >
"ActorID": "${stock.physical_depot_code}",
<#else>
"ActorID": "DEP${stock.physical_depot_code}",
</#if>
"ActorID": "${stock.physical_depot_code}",
<#else>
"ActorID": "${depot}${stock.physical_depot_code}",
</#if>
<#assign generation_date = RfxDateTimetoUTC(stock.generation_date,time_zone_offset_rfx) />
@@ -27,20 +20,11 @@
"DateTime": "${generation_date}",
"AuthorTimeZone": "${time_zone_rfx}"
},
<#if text_language_rfx="fr">
<#if uniqueness?? && uniqueness!="" >
"ID": "${stock.physical_depot_code}-${idSnapshot}",
<#else>
"ID": "DEP${stock.physical_depot_code}-${idSnapshot}",
"ID": "${depot}${stock.physical_depot_code}-${idSnapshot}",
</#if>
<#else>
<#if uniqueness?? && uniqueness!="" >
"ID": "${stock.physical_depot_code}-${idSnapshot}",
<#else>
"ID": "DEP${stock.physical_depot_code}-${idSnapshot}",
</#if>
</#if>
"Quantity":
{
"Value" : "${stock.quantity_in_base_lvs!"0"}",