|
|
@ -22,11 +22,13 @@ const tankersSchema = new mongoose.Schema({
|
|
|
|
|
|
|
|
|
|
|
|
const tankersbookingSchema = new mongoose.Schema({
|
|
|
|
const tankersbookingSchema = new mongoose.Schema({
|
|
|
|
customerId: { type: String, default: null },
|
|
|
|
customerId: { type: String, default: null },
|
|
|
|
|
|
|
|
tankerName: { type: String, default: null },
|
|
|
|
bookingid: { type: String, default: null,unique: true },
|
|
|
|
bookingid: { type: String, default: null,unique: true },
|
|
|
|
dateOfOrder: { type: String, default: null },
|
|
|
|
dateOfOrder: { type: String, default: null },
|
|
|
|
typeofwater: { type: String, default: null },
|
|
|
|
typeofwater: { type: String, default: null },
|
|
|
|
capacity: { type: String, default: null },
|
|
|
|
capacity: { type: String, default: null },
|
|
|
|
address: { type: String, default: null },
|
|
|
|
address: { type: String, default: null },
|
|
|
|
|
|
|
|
price: { type: String, default: "750" },
|
|
|
|
payment_status : { type: String, default: "due" },
|
|
|
|
payment_status : { type: String, default: "due" },
|
|
|
|
//orderStatus: { type: String, default: "due" },
|
|
|
|
//orderStatus: { type: String, default: "due" },
|
|
|
|
quantityDelivered: { type: String, default: null},
|
|
|
|
quantityDelivered: { type: String, default: null},
|
|
|
|