|
|
|
@ -220,8 +220,8 @@ exports.tankerBooking = async (req, reply) => {
|
|
|
|
|
supplierId:req.body.supplierId,
|
|
|
|
|
tankName:req.body.tankName,
|
|
|
|
|
tankLocation:req.body.tankLocation,
|
|
|
|
|
// latitude: req.body.latitude,
|
|
|
|
|
// longitude: req.body.longitude,
|
|
|
|
|
latitude: req.body.latitude,
|
|
|
|
|
longitude: req.body.longitude,
|
|
|
|
|
//date: req.body.date,
|
|
|
|
|
// time: req.body.time,
|
|
|
|
|
customerPhone : customerPhone,
|
|
|
|
@ -254,8 +254,8 @@ exports.tankerBooking = async (req, reply) => {
|
|
|
|
|
tankersBookingData.supplierPhone = supplierPhone;
|
|
|
|
|
tankersBookingData.customerName = customerName;
|
|
|
|
|
tankersBookingData.supplierName = supplierName;
|
|
|
|
|
// tankersBookingData.latitude =usertobeInserted.latitude
|
|
|
|
|
// tankersBookingData.longitude=usertobeInserted.longitude
|
|
|
|
|
tankersBookingData.latitude =usertobeInserted.latitude
|
|
|
|
|
tankersBookingData.longitude=usertobeInserted.longitude
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|