Skip to content

Commit

Permalink
CIV-14025 Caseworker screen: Settle this claim (#4474)
Browse files Browse the repository at this point in the history
* Add new event and permissions

* Remove case worker permission

* revert changes

* Add new event

* CIV-14025 Added new fields

* CIV-14025 Added submit event

* CIV-14025 Fix comments

* CIV-14025 Renamed JO files

---------

Co-authored-by: ShwetaTandel-hmcts <[email protected]>
Co-authored-by: ShwetaTandel-hmcts <[email protected]>
Co-authored-by: Azam <[email protected]>
  • Loading branch information
4 people authored Jun 12, 2024
1 parent 93fe623 commit 570fcd9
Show file tree
Hide file tree
Showing 5 changed files with 88 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
[
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "partiesNames",
"AccessControl": [
{
"UserRoles": [
"caseworker-civil-admin",
"caseworker-civil-staff"
],
"CRUD": "CRU"
}
]
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "settleReason",
"AccessControl": [
{
"UserRoles": [
"caseworker-civil-admin",
"caseworker-civil-staff"
],
"CRUD": "CRU"
}
]
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
"ShowEventNotes": "N",
"EndButtonLabel": "Settle claim",
"CallBackURLAboutToStartEvent": "${CCD_DEF_CASE_SERVICE_BASE_URL}/cases/callbacks/about-to-start",
"CallBackURLAboutToSubmitEvent": "${CCD_DEF_CASE_SERVICE_BASE_URL}/cases/callbacks/about-to-submit",
"CallBackURLSubmittedEvent": "${CCD_DEF_CASE_SERVICE_BASE_URL}/cases/callbacks/submitted",
"RetriesTimeoutAboutToStartEvent": 0
},
{
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
[
{
"CaseTypeID": "CIVIL",
"CaseEventID": "SETTLE_CLAIM",
"CaseFieldID": "partiesNames",
"PageID": "SettleClaim",
"PageLabel": "Reason for settlement",
"PageDisplayOrder": 1,
"PageFieldDisplayOrder": 1,
"PageColumnNumber": 1,
"DisplayContext": "READONLY",
"ShowSummaryChangeOption": "N"
},
{
"CaseTypeID": "CIVIL",
"CaseEventID": "SETTLE_CLAIM",
"CaseFieldID": "settleReason",
"PageFieldDisplayOrder": 2,
"DisplayContext": "MANDATORY",
"PageID": "SettleClaim",
"PageDisplayOrder": 1,
"PageColumnNumber": 1,
"ShowSummaryChangeOption": "N"
}
]
19 changes: 19 additions & 0 deletions ccd-definition/CaseField/CaseField-SettleDiscontinue-nonprod.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[
{
"CaseTypeID": "CIVIL",
"ID": "partiesNames",
"Label": "**${caseNameHmctsInternal}**",
"FieldType": "Label",
"SecurityClassification": "Public",
"Searchable": "N"
},
{
"CaseTypeID": "CIVIL",
"ID": "settleReason",
"Label": "How has the claim been settled?",
"FieldType": "FixedRadioList",
"FieldTypeParameter": "SettleReason",
"SecurityClassification": "Public",
"Searchable": "N"
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[
{
"ID": "SettleReason",
"ListElementCode": "JUDGE_ORDER",
"ListElement": "Settled following judge's order",
"DisplayOrder": 1
},
{
"ID": "SettleReason",
"ListElementCode": "CONSENT_ORDER",
"ListElement": "Consent order approved",
"DisplayOrder": 2
}
]

0 comments on commit 570fcd9

Please sign in to comment.