|
|
|
@ -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
|
|
|
|
|