diff --git a/RPtoRFX_CarrierAppointmentCreated.ftl b/RPtoRFX_CarrierAppointmentCreated.ftl index dc0f5c3..5eee6fb 100644 --- a/RPtoRFX_CarrierAppointmentCreated.ftl +++ b/RPtoRFX_CarrierAppointmentCreated.ftl @@ -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[0].OrderID!= ""> + appointment.Unloading.Projects[0].Commissions?? && appointment.Unloading.Projects[0].Commissions[0].ExecutionflowID == "" + && appointment.Unloading.Projects[0].Commissions[0].OrderID == ""> "appointment_designation":"${(appointment.Reason!"")!?json_string}", <#else> "physical_receipt_list": [