SCPN1-11090

(cherry picked from commit fb17a8e1172803a8de6c7c07a3b0689720f8398e)

Co-authored-by: Laurie Montant <laurie.montant@hardis-group.com>
This commit is contained in:
2026-07-29 12:20:03 +00:00
parent 22051fb31d
commit d358b41bf0
2 changed files with 4 additions and 2 deletions

View File

@@ -358,7 +358,7 @@
] ]
</#switch> </#switch>
<#break> <#break>
<#-- *********************************************** ApiRestID = canceled ******************** --> <#-- *********************************************** ApiRestID = status ******************** -->
<#case "status_appointment_put_update_by_ref"> <#case "status_appointment_put_update_by_ref">
<#case "status_appointment_put_update_by_number"> <#case "status_appointment_put_update_by_number">
<#switch restResponsetMsg.status!no_status> <#switch restResponsetMsg.status!no_status>

View File

@@ -38,7 +38,9 @@
<#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].OrderID?? && appointment.Unloading.Projects[0].Commissions[0].OrderID!= "">
"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>