You've already forked reflex-wms-connector
RDV
This commit is contained in:
@@ -11,28 +11,51 @@
|
||||
<#assign organisationRP = organisation>
|
||||
|
||||
<#switch eventRP.event>
|
||||
<#case "Created">
|
||||
<#-- *********************************************** Action = CREATE or UPDATE ******************** -->
|
||||
<#assign appointment = eventRP.data />
|
||||
[
|
||||
{
|
||||
<#-- *********************************************** Action = CREATE or UPDATE ******************** -->
|
||||
<#case "Created">
|
||||
<#assign appointment = eventRP.data />
|
||||
[
|
||||
{
|
||||
<#assign apiRestReflexID = ApiRestReflexID.appointment_post>
|
||||
"apiRestReflexID" : "${apiRestReflexID}",
|
||||
"datas" :
|
||||
<#include "RPtoRFX_CarrierAppointmentCreated.ftl">
|
||||
}
|
||||
<#--{
|
||||
|
||||
<#assign apiRestReflexID = ApiRestReflexID.appointment_post>
|
||||
"apiRestReflexID" : "${apiRestReflexID}",
|
||||
"datas" :
|
||||
<#include "RPtoRFX_CarrierAppointmentCreated.ftl">
|
||||
},
|
||||
{
|
||||
|
||||
<#assign apiRestReflexID = ApiRestReflexID.appointment_put>
|
||||
"apiRestReflexID" : "${apiRestReflexID}",
|
||||
"datas" :
|
||||
<#include "RPtoRFX_CarrierAppointmentUpdated.ftl">
|
||||
}
|
||||
]
|
||||
<#break>
|
||||
<#default>
|
||||
<#stop >
|
||||
<#assign apiRestReflexID = ApiRestReflexID.appointment_put>
|
||||
"apiRestReflexID" : "${apiRestReflexID}",
|
||||
"datas" :
|
||||
<#include "RPtoRFX_CarrierAppointmentUpdated.ftl">
|
||||
}-->
|
||||
]
|
||||
<#break>
|
||||
<#-- *********************************************** Action = CommissionsUpdated ******************** -->
|
||||
<#case "CommissionsUpdated">
|
||||
<#assign appointment = eventRP.data />
|
||||
[
|
||||
{
|
||||
<#assign apiRestReflexID = ApiRestReflexID.physical_receipt_associations_post>
|
||||
"apiRestReflexID" : "${apiRestReflexID}",
|
||||
"datas" :
|
||||
<#include "RPtoRFX_CarrierAppointmentAssociationPhysicalReceipt.ftl">
|
||||
}
|
||||
]
|
||||
<#break>
|
||||
<#-- *********************************************** Action = SlotUpdated ******************** -->
|
||||
<#case "SlotUpdated">
|
||||
<#assign appointment = eventRP.data />
|
||||
[
|
||||
{
|
||||
<#assign apiRestReflexID = ApiRestReflexID.appointment_put>
|
||||
"apiRestReflexID" : "${apiRestReflexID}",
|
||||
"datas" :
|
||||
<#include "RPtoRFX_CarrierAppointmentSlotUpdated.ftl">
|
||||
}
|
||||
]
|
||||
<#break>
|
||||
<#default>
|
||||
<#stop >
|
||||
</#switch>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user