master^2
Bhaskar 3 months ago
parent fe0391ac6d
commit 5f5e1be31e

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

Loading…
Cancel
Save