location added from connected master and slaves

master^2
Bhaskar 3 months ago
parent 915998b11d
commit e262650680

@ -1494,7 +1494,10 @@ exports.masterConnectedSlaveList = async (req, reply) => {
if (match) {
masterOrderInfo = {
masterName: match.master_name || "",
location: match.location || ""
location: match.location || "",
googleLocation: match.googleLocation || "",
longitude : match.longitude || "",
latitude: match.latitude || ""
};
}
}
@ -1508,6 +1511,9 @@ exports.masterConnectedSlaveList = async (req, reply) => {
tankHeight: null,
masterName: masterOrderInfo.masterName,
location: masterOrderInfo.location,
googleLocation: masterOrderInfo.googleLocation,
longitude: masterOrderInfo.longitude,
latitude: masterOrderInfo.latitude,
height: tankDetails?.height || null,
length: tankDetails?.length || null,
width: tankDetails?.width || null

Loading…
Cancel
Save