|
|
|
@ -15,8 +15,10 @@ const tankersSchema = new mongoose.Schema({
|
|
|
|
|
tankerName: { type: String, default: null },
|
|
|
|
|
phoneNumber: { type: String, default: null },
|
|
|
|
|
alternative_phoneNumber: { type: String, default: null },
|
|
|
|
|
typeofwater: [{ typeofwater: String}],
|
|
|
|
|
capacity: [{ capacity: String}],
|
|
|
|
|
typeofwater: { typeofwater: String},
|
|
|
|
|
capacity: { capacity: String},
|
|
|
|
|
supplier_address: { type: String, default: null },
|
|
|
|
|
supplier_name : { type: String, default: null },
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
@ -34,6 +36,10 @@ const tankersbookingSchema = new mongoose.Schema({
|
|
|
|
|
price: { type: String, default: "750" },
|
|
|
|
|
payment_status : { type: String, default: "due" },
|
|
|
|
|
orderStatus: { type: String, default: "pending" },
|
|
|
|
|
delivery_agent : { type: String, default: "null" },
|
|
|
|
|
delivery_agent_mobile : { type: String, default: "null" },
|
|
|
|
|
delivery_agent_alternative_mobile : { type: String, default: "null" },
|
|
|
|
|
|
|
|
|
|
quantityDelivered: { type: String, default: null},
|
|
|
|
|
amount_paid: { type: String, default: null },
|
|
|
|
|
amount_due: { type: String, default: null },
|
|
|
|
|