|
|
|
|
@ -1772,6 +1772,7 @@ exports.masterConnectedSlaveList = async (req, reply) => {
|
|
|
|
|
...master,
|
|
|
|
|
isMaster: true,
|
|
|
|
|
tankLocation: tankDetails?.tankLocation || null,
|
|
|
|
|
product_status: master.product_status || 'pending',
|
|
|
|
|
typeOfWater: masterTypeOfWater,
|
|
|
|
|
tankHeight: null,
|
|
|
|
|
masterName: masterOrderInfo.masterName,
|
|
|
|
|
@ -1896,6 +1897,7 @@ return {
|
|
|
|
|
...slave,
|
|
|
|
|
isMaster: false,
|
|
|
|
|
hardwareId: finalHardwareId,
|
|
|
|
|
product_status: slave.product_status || 'pending',
|
|
|
|
|
tankHeight: matchingTankData?.tankHeight ?? null,
|
|
|
|
|
typeOfWater: masterTypeOfWater === 'bore' ? 'bore' : (slave.typeOfWater || null),
|
|
|
|
|
height: slaveTankMeta?.height || null,
|
|
|
|
|
|