We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80cf1eb commit 371261cCopy full SHA for 371261c
sw-calculator/src/main/java/org/egov/swcalculation/service/EstimationService.java
@@ -196,7 +196,7 @@ public BigDecimal getSewerageEstimationCharge(SewerageConnection sewerageConnect
196
boolean slabCondition = false;
197
198
if (waterSubUsageType != null) {
199
- slabCondition = totalUnits >= slab.getFrom() && totalUnits < slab.getTo()
+ slabCondition = totalUnits > slab.getFrom() && totalUnits <= slab.getTo()
200
&& slab.getEffectiveFrom() <= System.currentTimeMillis()
201
&& slab.getEffectiveTo() >= System.currentTimeMillis()
202
&& waterSubUsageType.equalsIgnoreCase(billSlab.getWaterSubUsageType());
0 commit comments