Skip to content

Commit

Permalink
CIV-7037 Removed PBA Accounts in General Applications (#2282)
Browse files Browse the repository at this point in the history
* CIV-7037 Removed PBA Accounts

* CIV-7037 Removed unused list elements

* CIV-7037 Removed unused listElement code

---------

Co-authored-by: Deepthi Doppalapudi <[email protected]>
  • Loading branch information
deepthidoppalapudihmcts and Deepthi Doppalapudi authored Mar 6, 2023
1 parent 87832d1 commit 2c6d6bc
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 59 deletions.
14 changes: 0 additions & 14 deletions ccd-definition/AuthorisationComplexType/solicitorGAspec.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,13 +153,6 @@
"UserRole": "caseworker-civil-solicitor",
"CRUD": "R"
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "generalAppPBADetails",
"ListElementCode": "applicantsPbaAccounts",
"UserRole": "caseworker-civil-solicitor",
"CRUD": "CRU"
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "generalAppPBADetails",
Expand All @@ -181,13 +174,6 @@
"UserRole": "caseworker-civil-solicitor",
"CRUD": "CRU"
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "generalAppPBADetails",
"ListElementCode": "pbaReference",
"UserRole": "caseworker-civil-solicitor",
"CRUD": "CRU"
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "generalApplications",
Expand Down
16 changes: 0 additions & 16 deletions ccd-definition/ComplexTypes/GAPBADetailsGAspec.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,6 @@
"FieldType": "Text",
"SecurityClassification": "Public"
},
{
"ID": "GAPBADetailsGAspec",
"ListElementCode": "applicantsPbaAccounts",
"ElementLabel": "Select your payment by account number (PBA)\n",
"FieldType": "DynamicList",
"SecurityClassification": "Public"
},
{
"ID": "GAPBADetailsGAspec",
"ListElementCode": "pbaReference",
"ElementLabel": "Enter a reference for your PBA account statements",
"HintText": "This should be your own unique reference to identify the case. It will appear on your statements.",
"FieldType": "TextArea",
"Max": 400,
"SecurityClassification": "Public"
},
{
"ID": "GAPBADetailsGAspec",
"ListElementCode": "fee",
Expand Down
29 changes: 0 additions & 29 deletions e2e/fixtures/events/createGeneralApplication.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
const {listElement} = require('../../api/dataHelper');
let selectedPba = listElement('PBA0088192');
const validPba = listElement('PBA0088192');
const invalidPba = listElement('PBA0078095');

module.exports = {
createGAData: (isWithNotice, reasonWithoutNotice, calculatedAmount, code) => {
return {
Expand Down Expand Up @@ -64,14 +59,6 @@ module.exports = {
SupportRequirement: []
},
generalAppPBADetails: {
applicantsPbaAccounts: {
list_items: [
validPba,
invalidPba
],
value: selectedPba
},
pbaReference: 'Test PBA Reference',
paymentSuccessfulDate: null,
fee: {
calculatedAmountInPence: calculatedAmount,
Expand Down Expand Up @@ -148,14 +135,6 @@ module.exports = {
SupportRequirement: []
},
generalAppPBADetails: {
applicantsPbaAccounts: {
list_items: [
validPba,
invalidPba
],
value: selectedPba
},
pbaReference: 'Test PBA Reference',
paymentSuccessfulDate: null,
fee: {
calculatedAmountInPence: calculatedAmount,
Expand Down Expand Up @@ -231,14 +210,6 @@ module.exports = {
SupportRequirement: []
},
generalAppPBADetails: {
applicantsPbaAccounts: {
list_items: [
validPba,
invalidPba
],
value: selectedPba
},
pbaReference: 'Test PBA Reference',
paymentSuccessfulDate: null,
fee: {
calculatedAmountInPence: '27500',
Expand Down

0 comments on commit 2c6d6bc

Please sign in to comment.