Skip to content

Commit

Permalink
CIV-10045 Claim missing on the Dashboard (#3163)
Browse files Browse the repository at this point in the history
* CIV-10045: Adding Checking for Case Settled

* CIV-10045: Code Smell

* CIV-10045: Code Smell

* CIV-10045: Code Smell

* CIV-10045: Rollback

* CIV-10045: Rollback

* CIV-10045: Code Smell

* CIV-10045: Add back changes

* CIV-10045: Code Smell

---------

Co-authored-by: Kadir Egilmez <[email protected]>
Co-authored-by: neeta-hmcts <[email protected]>
Co-authored-by: Pablo Ortiz <[email protected]>
  • Loading branch information
4 people authored Aug 30, 2023
1 parent 1e33501 commit 65a1e9f
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ public boolean isSettled() {
&& (caseData.respondent1PaidInFull()
|| caseData.isResponseAcceptedByClaimant())
&& Objects.isNull(caseData.getCcjPaymentDetails())
&& !caseData.hasApplicantRejectedRepaymentPlan();
&& !caseData.hasApplicantRejectedRepaymentPlan()
|| caseData.isPartAdmitClaimSettled();
}

@Override
Expand Down Expand Up @@ -184,7 +185,7 @@ public boolean hasSdoBeenDrawn() {

@Override
public boolean isBeforeHearing() {
return (isBeforeSmallClaimHearing() || isBeforeFastTrackHearing()) || noHearingScheduled();
return isBeforeSmallClaimHearing() || (isBeforeFastTrackHearing() || noHearingScheduled());
}

private boolean noHearingScheduled() {
Expand Down

0 comments on commit 65a1e9f

Please sign in to comment.