comments added

master^2
Bhaskar 4 months ago
parent 36fcb87fa0
commit 282c3bd4d8

@ -4749,6 +4749,7 @@ exports.getDisconnectedIssuesBySupportId = async (req, reply) => {
supportId,
customerId,
totalMasters: Object.keys(masterMap).length,
comments: supportRecord.comments || "",
disconnectedIssues: Object.values(masterMap)
});

@ -231,6 +231,7 @@ const installationschema = new mongoose.Schema({
dateOfLogin: { type: String, default: null },
timeOfLogin: { type: String, default: null },
currentTime: { type: Date, default: Date.now },
comments: { type: String, default: "" },
lastTicketRaisedAt: {type : String},
issues: [{ type: Object }], // existing issues array
masterDisconnected: [{ // new field for master disconnected details

Loading…
Cancel
Save