Skip to content

Commit

Permalink
Merge pull request #1225 from bcgov/fix/remove-rules
Browse files Browse the repository at this point in the history
EDX-1994, EDX-1995, EDX-1996 - removes unnecessary/redundant rules
  • Loading branch information
SodhiA1 authored Nov 27, 2023
2 parents e4ed5d0 + 06cfd77 commit 1b8adf7
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 25 deletions.
10 changes: 1 addition & 9 deletions backend/src/components/sdc.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ function createSearchCriteria(searchParams = []) {
let fundingWarningCategories = [
{
categoryCode: 'NOPROGFUNDINGHS',
validationErrors: ['PROGRAMCODEHSLANG', 'PROGRAMCODEHSIND', 'PROGRAMCODEHSCAREER', 'PROGRAMCODEHSSPED']
validationErrors: ['PROGRAMCODEHSLANG', 'PROGRAMCODEHSIND', 'PROGRAMCODEHSSPED']
},
{
categoryCode: 'ZEROCOURSE',
Expand All @@ -299,17 +299,9 @@ function createSearchCriteria(searchParams = []) {
categoryCode: 'NOFUNDSUPPORT',
validationErrors: ['SUPPORTFACILITYNA', 'ADULTSUPPORTERR', 'CHANGEME']
},
{
categoryCode: 'NOFUNDSPED',
validationErrors: ['SPEDOFFSHOREERR']
},
{
categoryCode: 'NOFUNDGRADADULT',
validationErrors: ['CHANGEME']
},
{
categoryCode: 'NOCAREERPROGFUND',
validationErrors: ['CAREEROFFSHOREERR']
}
];

Expand Down
8 changes: 0 additions & 8 deletions frontend/src/components/sdcCollection/StepTwoValidateData.vue
Original file line number Diff line number Diff line change
Expand Up @@ -769,17 +769,9 @@ export default {
category: 'No funding for Support Blocks',
categoryCode: 'NOFUNDSUPPORT'
},
{
category: 'No funding for Special Education',
categoryCode: 'NOFUNDSPED'
},
{
category: 'No funding for Graduated Adults',
categoryCode: 'NOFUNDGRADADULT'
},
{
category: 'No career program funding',
categoryCode: 'NOCAREERPROGFUND'
}
]
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -359,17 +359,9 @@ export default {
category: 'No funding for Support Blocks',
categoryCode: 'NOFUNDSUPPORT'
},
{
category: 'No funding for Special Education',
categoryCode: 'NOFUNDSPED'
},
{
category: 'No funding for Graduated Adults',
categoryCode: 'NOFUNDGRADADULT'
},
{
category: 'No career program funding',
categoryCode: 'NOCAREERPROGFUND'
}
]
};
Expand Down

0 comments on commit 1b8adf7

Please sign in to comment.