You've already forked reflex-wms-connector
modifs
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<#include "HfRpConfig.ftl">
|
||||
<#include "ReflexUtils.ftl">
|
||||
<#include "ActorPrefix.ftl">
|
||||
[
|
||||
{
|
||||
<#assign receipt_datetime = RfxDateTimetoUTC(receipt.receipt_datetime,time_zone_offset_rfx) />
|
||||
@@ -29,40 +30,22 @@
|
||||
},
|
||||
"ShipTo" :
|
||||
{
|
||||
<#if text_language_rfx="fr">
|
||||
<#if uniqueness?? && uniqueness!="" >
|
||||
"ActorID": "${receipt.physical_depot_code?trim?json_string}"
|
||||
<#else>
|
||||
"ActorID": "DEP${receipt.physical_depot_code?trim?json_string}"
|
||||
</#if>
|
||||
<#else>
|
||||
<#if uniqueness?? && uniqueness!="" >
|
||||
"ActorID": "${receipt.physical_depot_code?trim?json_string}"
|
||||
<#else>
|
||||
"ActorID": "DEP${receipt.physical_depot_code?trim?json_string}"
|
||||
</#if>
|
||||
<#if uniqueness?? && uniqueness!="" >
|
||||
"ActorID": "${receipt.physical_depot_code?trim?json_string}"
|
||||
<#else>
|
||||
"ActorID": "${depot}${receipt.physical_depot_code?trim?json_string}"
|
||||
</#if>
|
||||
|
||||
},
|
||||
"ShipToAcked": true,
|
||||
|
||||
<#if receipt.carrier_informations.carrier_code != "">
|
||||
<#if text_language_rfx="fr">
|
||||
<#if uniqueness?? && uniqueness!="" >
|
||||
"Carrier" : {"ActorID": "${receipt.carrier_informations.carrier_code?trim?json_string}"},
|
||||
<#else>
|
||||
"Carrier" : {"ActorID": "TRA${receipt.carrier_informations.carrier_code?trim?json_string}"},
|
||||
</#if>
|
||||
<#if uniqueness?? && uniqueness!="" >
|
||||
"Carrier" : {"ActorID": "${receipt.carrier_informations.carrier_code?trim?json_string}"},
|
||||
<#else>
|
||||
<#if uniqueness?? && uniqueness!="" >
|
||||
"Carrier" : {"ActorID": "${receipt.carrier_informations.carrier_code?trim?json_string}"},
|
||||
<#else>
|
||||
"Carrier" : {"ActorID": "CAR${receipt.carrier_informations.carrier_code?trim?json_string}"},
|
||||
</#if>
|
||||
"Carrier" : {"ActorID": "${carrier}${receipt.carrier_informations.carrier_code?trim?json_string}"},
|
||||
</#if>
|
||||
</#if>
|
||||
|
||||
|
||||
<#if receipt.line_list??>
|
||||
"Lines" : [
|
||||
<#list receipt.line_list as line>
|
||||
|
||||
Reference in New Issue
Block a user