CDK updates.
This commit is contained in:
@@ -31,6 +31,7 @@ const io = new Server(server, {
|
|||||||
"https://test.imex.online",
|
"https://test.imex.online",
|
||||||
"http://localhost:3000",
|
"http://localhost:3000",
|
||||||
"https://imex.online",
|
"https://imex.online",
|
||||||
|
"https://www.imex.online",
|
||||||
],
|
],
|
||||||
methods: ["GET", "POST"],
|
methods: ["GET", "POST"],
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -183,7 +183,7 @@ async function CdkSelectedCustomer(socket, selectedCustomerId) {
|
|||||||
`{5} Updating Service Vehicle History.`
|
`{5} Updating Service Vehicle History.`
|
||||||
);
|
);
|
||||||
socket.DMSVehHistory = await InsertServiceVehicleHistory(socket);
|
socket.DMSVehHistory = await InsertServiceVehicleHistory(socket);
|
||||||
// socket.emit("export-success", socket.JobData.id);
|
socket.emit("export-success", socket.JobData.id);
|
||||||
} else {
|
} else {
|
||||||
//Get the error code
|
//Get the error code
|
||||||
CdkBase.createLogEvent(
|
CdkBase.createLogEvent(
|
||||||
@@ -199,7 +199,6 @@ async function CdkSelectedCustomer(socket, selectedCustomerId) {
|
|||||||
`{6.2} Deleting Transaction ID ${socket.DMSTransHeader.transID}`
|
`{6.2} Deleting Transaction ID ${socket.DMSTransHeader.transID}`
|
||||||
);
|
);
|
||||||
socket.DmsBatchTxnPost = await DeleteDmsWip(socket);
|
socket.DmsBatchTxnPost = await DeleteDmsWip(socket);
|
||||||
//Emit the error in a nice way .
|
|
||||||
|
|
||||||
socket.DmsError.errMsg
|
socket.DmsError.errMsg
|
||||||
.split("|")
|
.split("|")
|
||||||
|
|||||||
Reference in New Issue
Block a user