|
|
|
@ -1249,7 +1249,7 @@ const response = {
|
|
|
|
|
totalConsumptionPercentageForDrinking: typeofwater !== "bore" ? drinkingConsumptionPercentage : 0,
|
|
|
|
|
totalConsumptionForBore: typeofwater !== "drinking" ? totalBoreConsumptionForSelectedBlockAndTypeOfWater : 0,
|
|
|
|
|
totalConsumptionForDrinking: typeofwater !== "bore" ? totalDrinkingConsumptionForSelectedBlockAndTypeOfWater : 0,
|
|
|
|
|
[`total consumption of ${typeofwater} and selected block`]: totalConsumptionForSelectedBlockAndTypeOfWater
|
|
|
|
|
[`total consumption of all and selected block`]: totalConsumptionForSelectedBlockAndTypeOfWater
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// Send the response
|
|
|
|
|