|
|
|
@ -1217,9 +1217,11 @@ if (isSameTime && !isToday) {
|
|
|
|
|
// Add to the total consumption and capacities based on water type
|
|
|
|
|
if (tank.typeOfWater === "bore" || tank.typeOfWater === "Bore Water") {
|
|
|
|
|
totalBoreConsumptionForSelectedBlockAndTypeOfWater += consumption;
|
|
|
|
|
totalConsumptionForSelectedBlockAndTypeOfWater += consumption
|
|
|
|
|
totalBoreCapacityForSelectedBlockAndTypeOfWater += capacity;
|
|
|
|
|
} else if (tank.typeOfWater === "drinking" || tank.typeOfWater === "Drinking Water") {
|
|
|
|
|
totalDrinkingConsumptionForSelectedBlockAndTypeOfWater += consumption;
|
|
|
|
|
totalConsumptionForSelectedBlockAndTypeOfWater += consumption
|
|
|
|
|
totalDrinkingCapacityForSelectedBlockAndTypeOfWater += capacity;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|