modif sur les rdz
This commit is contained in:
parent
0113829f9b
commit
9c5741cc7f
3
RFXtoRP_HsrCarrierApt_CarrierInformation.ftl
Normal file
3
RFXtoRP_HsrCarrierApt_CarrierInformation.ftl
Normal file
@ -0,0 +1,3 @@
|
||||
"CarrierInformation": [
|
||||
|
||||
]
|
||||
5
RFXtoRP_HsrCarrierApt_MetadataAppointment.ftl
Normal file
5
RFXtoRP_HsrCarrierApt_MetadataAppointment.ftl
Normal file
@ -0,0 +1,5 @@
|
||||
|
||||
"MetaData": [
|
||||
]
|
||||
|
||||
|
||||
5
RFXtoRP_HsrCarrierApt_Quantities.ftl
Normal file
5
RFXtoRP_HsrCarrierApt_Quantities.ftl
Normal file
@ -0,0 +1,5 @@
|
||||
"Quantities": [
|
||||
|
||||
]
|
||||
|
||||
|
||||
6
RFXtoRP_HsrCarrierApt_SegmentationSelections.ftl
Normal file
6
RFXtoRP_HsrCarrierApt_SegmentationSelections.ftl
Normal file
@ -0,0 +1,6 @@
|
||||
|
||||
|
||||
"SegmentationSelections": [
|
||||
]
|
||||
|
||||
|
||||
@ -66,12 +66,9 @@
|
||||
"Value": "${carrier_apt.planned_carrier?json_string}"
|
||||
}
|
||||
],
|
||||
"SegmentationSelections":[ <#-- intégrer les SK par la suite -->
|
||||
{ "SegmentationID":"Securise",
|
||||
"SegmentationValueID":"yes"},
|
||||
{ "SegmentationID":"Secteur",
|
||||
"SegmentationValueID":"frais"}
|
||||
],
|
||||
<#include "RFXtoRP_HsrCarrierApt_SegmentationSelections.ftl">,
|
||||
<#include "RFXtoRP_HsrCarrierApt_CarrierInformation.ftl">,
|
||||
<#include "RFXtoRP_HsrCarrierApt_MetadataAppointment.ftl">,
|
||||
<#if carrier_apt.physical_receipt_list?? && (carrier_apt.physical_receipt_list?filter(l ->l??)?size != 0)>
|
||||
"Commissions": [
|
||||
<#list carrier_apt.physical_receipt_list?filter(l ->l??) as physical_receipt>
|
||||
@ -83,11 +80,7 @@
|
||||
"OrderID": "R${carrier_apt.physical_depot?json_string}${physical_receipt.receipt_activity?json_string}${physical_receipt.originator_code?json_string}${physical_receipt.receipt_year}${physical_receipt.receipt_number}",
|
||||
</#if>
|
||||
"ProjectID": "${projectRP}",
|
||||
"Quantities": [
|
||||
{
|
||||
"UnitID": "PAL", <#-- à changer -->
|
||||
"Value": 1 <#-- à changer -->
|
||||
}
|
||||
<#include "RFXtoRP_HsrCarrierApt_Quantities.ftl">
|
||||
]
|
||||
}<#sep>,</#sep>
|
||||
</#list>
|
||||
@ -97,12 +90,7 @@
|
||||
{
|
||||
"ActorID": "${RFXtoRPprefixDepot(carrier_apt.physical_depot?json_string)}",
|
||||
"ProjectID": "${projectRP}",
|
||||
"Quantities": [
|
||||
{
|
||||
"UnitID": "PAL", <#-- à changer -->
|
||||
"Value": 1 <#-- à changer -->
|
||||
}
|
||||
]
|
||||
<#include "RFXtoRP_HsrCarrierApt_Quantities.ftl">
|
||||
}
|
||||
],
|
||||
"Reason": "no commission", <#-- à changer -->
|
||||
|
||||
@ -51,12 +51,7 @@
|
||||
"ActorID": "${RFXtoRPprefixDepot(carrier_apt.physical_depot?json_string)}",
|
||||
"OrderID": "${physical_receipt.physical_receipt_reference?json_string}",
|
||||
"ProjectID": "${projectRP}",
|
||||
"Quantities": [
|
||||
{
|
||||
"UnitID": "PAL", <#-- à changer -->
|
||||
"Value": 1 <#-- à changer -->
|
||||
}
|
||||
]
|
||||
<#include "RFXtoRP_HsrCarrierApt_Quantities.ftl">
|
||||
}<#sep>,</#sep>
|
||||
</#list>
|
||||
],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user