|
|
@ -265,9 +265,9 @@ exports.motorAction = async (req, reply) => {
|
|
|
|
if(action === "start"){
|
|
|
|
if(action === "start"){
|
|
|
|
start_time = new Date().toLocaleString('en-US', {timeZone: 'Asia/Kolkata'})
|
|
|
|
start_time = new Date().toLocaleString('en-US', {timeZone: 'Asia/Kolkata'})
|
|
|
|
|
|
|
|
|
|
|
|
supplier_tank = req.body.from
|
|
|
|
const supplier_tank = req.body.from
|
|
|
|
supplier_tank_type = (req.body.from_type).toLowerCase()
|
|
|
|
const supplier_tank_type = (req.body.from_type).toLowerCase()
|
|
|
|
receiver_type = (req.body.to_type).toLowerCase()
|
|
|
|
const receiver_type = (req.body.to_type).toLowerCase()
|
|
|
|
console.log(supplier_tank)
|
|
|
|
console.log(supplier_tank)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|