From 97f77bc7720d5520037edaaf5dea91f0f2561468 Mon Sep 17 00:00:00 2001 From: ShwetaTandel-hmcts <130586258+ShwetaTandel-hmcts@users.noreply.github.com> Date: Thu, 14 Dec 2023 10:44:28 +0000 Subject: [PATCH] CIV-8315 task flight delay (#3635) * CIV-11150 Add new handler * CIV-11150 Add new handler * CIV-11150 Fix sonar issues * CIV-11150 Add new test and new changes * CIV-11150 Add new test and new changes * CIV-11150 Fix sonar issue * CIV-11150 Add claimType modifyer * CIV-8155 enter flight delay details list and validations * CIV-8155 Add tests * CIV-8155 Add flightDelay object * CIV-8155 Fix imports * CIV-8155 Fix imports * CIV-8155 Fix tests * CIV-8155 Add airlines * CIV-8155 Add airlines and locations * CIV-8155 Fix airline locations and add tests * CIV-8155 Fix sonar issues * CIV-8155 Fix sonar issues * CIV-8155 Fix tests * CIV-8155 Add csv file read * CIV-8155 update dropdown and locations functionality * CIV-8155 change type for flightCourtLocation variable * CIV-8155 changes in the variables stored in caseData * CIV-8155 update tests * CIV-8155 update tests * CIV-8155 update tests * CIV-8155 update tests * CIV-8155 update tests * Fixing PR build issues Fixing PR build issues * Initial Commit Initial Commit * CIV-8155 update tests * CIV-8155 update tests * CIV-8155 update tests * CIV-8155 fix sonar issues * CIV-8155 refactoring * CIV-8318 Change commit CIV-8318 Change commit * CIV-8155 refactoring test * CIV-8155 add temporary suppression * Civ-8318 refactoring Civ-8318 refactoring * Civ-8318 Merge fixes Civ-8318 Merge fixes * CIV-8318 Unit Test coverage fix CIV-8318 Unit Test coverage fix * CIV-8316 Initial Commit CIV-8316 Initial Commit * Fix check style Fix check style * Added Small Claim condition * Change AllocatedTrack to ReponseClaimTrack Change AllocatedTrack to ReponseClaimTrack * Refactor Commit Refactor Commit * Bug fix Bug fix * refactor refactor * CIV-11494 Refactor the callbacks for Fligth Delay Claim * CIV-11494 Merging with master * CIV-11494 Refactoring suppressions * CIV-11494 Fixing problems with test * CIV-11494 Fixing problems with test * CIV-11494 Fixing problems with test CIV-11494 Fixing problems with test * Fix Sonar CaseDataBuilder exception * PR Review comments PR Review comments * CIV-11494 Fixing problems with submit on claimType * CIV-11494 We don't need to check the claim type on validate cause we change it to submit method * Update suppressions.xml * addedd commen * fix check style * CIV-11494 updated method name * New changes * Fix sonar checks Fix sonar checks * Code review Code review * code review * fix for PR build --------- Co-authored-by: hmcts-version1-ignacio Co-authored-by: hmcts-version1-ignacio <107860328+hmcts-version1-ignacio@users.noreply.github.com> Co-authored-by: Azam <106387766+Azam-Hmcts@users.noreply.github.com> Co-authored-by: krishnanuthalapati <32389208+krishnanuthalapati@users.noreply.github.com> Co-authored-by: Omaira-Melo-Hmcts <148855113+Omaira-Melo-Hmcts@users.noreply.github.com> Co-authored-by: Azam --- .../java/uk/gov/hmcts/reform/civil/enums/AllocatedTrack.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/uk/gov/hmcts/reform/civil/enums/AllocatedTrack.java b/src/main/java/uk/gov/hmcts/reform/civil/enums/AllocatedTrack.java index 7d9f1d94704..27ea4f75fe6 100644 --- a/src/main/java/uk/gov/hmcts/reform/civil/enums/AllocatedTrack.java +++ b/src/main/java/uk/gov/hmcts/reform/civil/enums/AllocatedTrack.java @@ -8,7 +8,8 @@ public enum AllocatedTrack { MULTI_CLAIM; public static AllocatedTrack getAllocatedTrack(BigDecimal statementOfValueInPounds, ClaimType claimType) { - if (claimType != null) { + //The FLIGHT_DELAY ClaimType is only applicable for SPEC cases at the moment. + if (claimType != null && claimType != ClaimType.FLIGHT_DELAY) { switch (claimType) { case PERSONAL_INJURY: case CLINICAL_NEGLIGENCE: