|
|
|
@ -442,6 +442,7 @@ const orderSchema = new mongoose.Schema({
|
|
|
|
|
comments: { type: String, default: null },
|
|
|
|
|
datetime: { type: String, default: null },
|
|
|
|
|
updated_at: { type: String, default: null },
|
|
|
|
|
assignedTeamMembers: [{ type: String }],
|
|
|
|
|
electricals: [
|
|
|
|
|
{
|
|
|
|
|
type: { type: String, default: null },
|
|
|
|
@ -461,7 +462,9 @@ const orderSchema = new mongoose.Schema({
|
|
|
|
|
switch_type_quantity_price: { type: String, default: null },
|
|
|
|
|
switch_type_total_price: { type: String, default: null },
|
|
|
|
|
qutation_total_price: { type: String, default: null },
|
|
|
|
|
status: { type: String, default: "pending" }, // Status field added
|
|
|
|
|
status: { type: String, default: "pending" },
|
|
|
|
|
quatation_status: { type: String, default: "pending" },
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
const SensorStockSchema = new mongoose.Schema({
|
|
|
|
|