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

Commit

Permalink
Merge pull request #989 from egovernments/ISTE-371
Browse files Browse the repository at this point in the history
Added changes to allow Advance in electricity bill from pspcl
  • Loading branch information
pradeepkumarcm-egov authored Oct 25, 2024
2 parents 51a8bfb + 9080feb commit 1c68bd4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public void validateFields(ChallanRequest request, Object mdmsData) {
*/

if (!currentTaxHeadCodes.isEmpty() && !requiredTaxHeadCodes.isEmpty()) {
if (!currentTaxHeadCodes.containsAll(requiredTaxHeadCodes))
if (!(currentTaxHeadCodes.stream().anyMatch(requiredTaxHeadCodes::contains)))
errorMap.put("INVALID_TAXHEAD_CODE_DETAILS",
"Mandatory taxhead codes details are not present in request for provided business service");
} else
Expand Down

0 comments on commit 1c68bd4

Please sign in to comment.