You've already forked reflex-wms-connector
SCPN1-11090
(cherry picked from commit af2ccc088c2dd4a2ab1385ba705b7615a2297ca3) Co-authored-by: Laurie Montant <laurie.montant@hardis-group.com>
This commit is contained in:
@@ -37,10 +37,11 @@
|
|||||||
<#include "RPtoRFX_CarrierAppointmentDefaultData.ftl">
|
<#include "RPtoRFX_CarrierAppointmentDefaultData.ftl">
|
||||||
<#if appointment.AppointmentType == AppointmentType.APPOINTMENT_TYPE_UNLOADING >
|
<#if appointment.AppointmentType == AppointmentType.APPOINTMENT_TYPE_UNLOADING >
|
||||||
<#if appointment.Unloading?? && appointment.Unloading.Projects?? &&
|
<#if appointment.Unloading?? && appointment.Unloading.Projects?? &&
|
||||||
appointment.Unloading.Projects[0]?? &&
|
appointment.Unloading.Projects[0]?? &&
|
||||||
appointment.Unloading.Projects[0].Commissions?? &&
|
appointment.Unloading.Projects[0].Commissions?? && appointment.Unloading.Projects[0].Commissions[0].ExecutionflowID != ""
|
||||||
appointment.Unloading.Projects[0].Commissions[0].ExecutionflowID?? && (appointment.Unloading.Projects[0].Commissions[0].ExecutionflowID != ""
|
&& appointment.Unloading.Projects[0].Commissions[0].OrderID!= "">
|
||||||
|| appointment.Unloading.Projects[0].Commissions[0].OrderID?? && appointment.Unloading.Projects[0].Commissions[0].OrderID!= "")>
|
"appointment_designation":"${(appointment.Reason!"")!?json_string}",
|
||||||
|
<#else>
|
||||||
"physical_receipt_list": [
|
"physical_receipt_list": [
|
||||||
<#list appointment.Unloading.Projects[0].Commissions?filter(l ->l.ExecutionflowID?? && l.ExecutionflowID !="") as commission>
|
<#list appointment.Unloading.Projects[0].Commissions?filter(l ->l.ExecutionflowID?? && l.ExecutionflowID !="") as commission>
|
||||||
<#list eventRP.executionflowCustomFields.entrySet()?filter(l ->l.key == commission.ExecutionflowID && l.value?? && l.value?has_content) as custom>
|
<#list eventRP.executionflowCustomFields.entrySet()?filter(l ->l.key == commission.ExecutionflowID && l.value?? && l.value?has_content) as custom>
|
||||||
@@ -72,8 +73,6 @@
|
|||||||
<#sep>,</#sep>
|
<#sep>,</#sep>
|
||||||
</#list>
|
</#list>
|
||||||
],
|
],
|
||||||
<#else>
|
|
||||||
"appointment_designation":"${(appointment.Reason!"")!?json_string}",
|
|
||||||
</#if>
|
</#if>
|
||||||
<#else>
|
<#else>
|
||||||
<#if appointment.AppointmentType == AppointmentType.APPOINTMENT_TYPE_LOADING>
|
<#if appointment.AppointmentType == AppointmentType.APPOINTMENT_TYPE_LOADING>
|
||||||
|
|||||||
Reference in New Issue
Block a user