|
|
@ -9052,6 +9052,7 @@ exports.particularCategory = async (req, reply) => {
|
|
|
|
masterName: orderMap[master.hardwareId]?.masterName || "",
|
|
|
|
masterName: orderMap[master.hardwareId]?.masterName || "",
|
|
|
|
type: "slave",
|
|
|
|
type: "slave",
|
|
|
|
typeOfWater: tankInfo?.typeOfWater || "",
|
|
|
|
typeOfWater: tankInfo?.typeOfWater || "",
|
|
|
|
|
|
|
|
outDoor_status: slave.outDoor_status || "inprogress",
|
|
|
|
//comments: slaveComments
|
|
|
|
//comments: slaveComments
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}));
|
|
|
|
}));
|
|
|
@ -9092,7 +9093,7 @@ exports.particularCategory = async (req, reply) => {
|
|
|
|
support_gm_last_check_time: master.support_gsm_last_check_time || null,
|
|
|
|
support_gm_last_check_time: master.support_gsm_last_check_time || null,
|
|
|
|
connected_slaves: slaveDetails,
|
|
|
|
connected_slaves: slaveDetails,
|
|
|
|
comments: masterComments,
|
|
|
|
comments: masterComments,
|
|
|
|
outDoor_status: master.outDoor_status,
|
|
|
|
outDoor_status: master.outDoor_status || "inprogress",
|
|
|
|
movedAt: category !== "Resolved" ? (issue?.movedAt || null) : null,
|
|
|
|
movedAt: category !== "Resolved" ? (issue?.movedAt || null) : null,
|
|
|
|
resolvedAt: category === "Resolved" ? (issue?.resolvedAt || null) : null,
|
|
|
|
resolvedAt: category === "Resolved" ? (issue?.resolvedAt || null) : null,
|
|
|
|
category: issue?.category || category,
|
|
|
|
category: issue?.category || category,
|
|
|
|