IO-233 CDK WIP

This commit is contained in:
Patrick Fic
2021-07-06 09:31:01 -07:00
parent 84b39f3d2b
commit f0d6c5e1b1
5 changed files with 82 additions and 60 deletions

View File

@@ -45,6 +45,15 @@ io.on("connection", (socket) => {
socket.on("cdk-export-job", (jobid) => {
CdkJobExport(socket, jobid);
});
socket.on("cdk-selected-customer", (selectedCustomerId) => {
createLogEvent(
socket,
"DEBUG",
`User selected customer ID ${selectedCustomerId}`
);
socket.selectedCustomerId = selectedCustomerId;
//CdkJobExport(socket, jobid);
});
socket.on("disconnect", () => {
createLogEvent(socket, "DEBUG", `User disconnected.`);