master^2
Varun 6 months ago
parent ce14ecbb59
commit 1c80ecc477

@ -2319,6 +2319,7 @@ exports.acceptQuotation = async (req, reply) => {
status: "blocked", status: "blocked",
customerId, customerId,
connected_to: masterHardwareId, connected_to: masterHardwareId,
tankhardwareId: `tank-${j + 1}`,
hardwareId: slave.hardwareId, hardwareId: slave.hardwareId,
tankName: tank.tankName || "", tankName: tank.tankName || "",
tankLocation: tank.tankLocation || "", tankLocation: tank.tankLocation || "",

@ -602,6 +602,7 @@ const orderSchema = new mongoose.Schema({
datetime: { type: String, default: null }, datetime: { type: String, default: null },
updated_at: { type: String, default: null }, updated_at: { type: String, default: null },
assignedTeamMembers: [{ type: String }], assignedTeamMembers: [{ type: String }],
tankhardwareId: [{ type: String,default: null }],
master_connections: [ master_connections: [
{ {
master_name: { type: String, default: null }, master_name: { type: String, default: null },

Loading…
Cancel
Save