Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Commit

Permalink
PFM-4912
Browse files Browse the repository at this point in the history
  • Loading branch information
rahuldevgarg committed Oct 18, 2023
1 parent 626dd10 commit db0cc53
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ class HouseHoldProvider with ChangeNotifier {
value.demands?.first.demandDetails?.first.taxHeadMasterCode ==
'WS_ADVANCE_CARRYFORWARD' &&
((waterConnection?.fetchBill?.bill ?? []).length == 0) ||
(waterConnection?.fetchBill?.bill?.first.totalAmount ?? 0) < 0) {
((waterConnection?.fetchBill?.bill??[]).length>0?(waterConnection?.fetchBill?.bill?.first.totalAmount ?? 0):0) < 0) {
isfirstdemand = false;
} else {
isfirstdemand = true;
Expand All @@ -162,6 +162,7 @@ class HouseHoldProvider with ChangeNotifier {
}
});
} catch (e, s) {
print(e.toString());
streamController.addError('error');
ErrorHandler().allExceptionsHandler(navigatorKey.currentContext!, e, s);
}
Expand Down

0 comments on commit db0cc53

Please sign in to comment.