SCPN1-11090

(cherry picked from commit 72bf165112481625c9164f153e5368da710375f2)

Co-authored-by: Laurie Montant <laurie.montant@hardis-group.com>
This commit is contained in:
2026-07-29 12:20:59 +00:00
parent ff617683e7
commit 3f8ee07798

View File

@@ -38,8 +38,8 @@
<#if appointment.AppointmentType == AppointmentType.APPOINTMENT_TYPE_UNLOADING >
<#if appointment.Unloading?? && appointment.Unloading.Projects?? &&
appointment.Unloading.Projects[0]?? &&
appointment.Unloading.Projects[0].Commissions?? &&
appointment.Unloading.Projects[0].Commissions[0].ExecutionflowID?? &&
appointment.Unloading.Projects[0].Commissions?? >
<#if 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 == "">
@@ -77,6 +77,7 @@
</#list>
],
</#if>
</#if>
<#else>
<#if appointment.AppointmentType == AppointmentType.APPOINTMENT_TYPE_LOADING>
"appointment_designation":"${(appointment.Reason!"")?json_string}",