Skip to content

Commit

Permalink
Merge pull request #571 from odisha-muktasoft/mb-util-uat
Browse files Browse the repository at this point in the history
inactive sor is removed from the list ticket no-579
  • Loading branch information
Tulika-eGov authored Jul 25, 2024
2 parents 37c0842 + 99bd312 commit 676571d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const transformStatementData = (data,screenType) => {

const { sorDetails } = data;

sorDetails.forEach((sorDetail, sorIndex) => {
sorDetails.filter((ob) => ob?.isActive === true).forEach((sorDetail, sorIndex) => {
const { lineItems } = sorDetail;

// Main SOR data
Expand Down Expand Up @@ -175,7 +175,7 @@ export const sortSorsBasedonType = (statement,screenType) => {
}
});
});

return resultArray;

// Create the array of objects based on the provided statement data
Expand Down

0 comments on commit 676571d

Please sign in to comment.