From 2c6d6bc299850bc419e6a37b13cca5e0aea80b0c Mon Sep 17 00:00:00 2001 From: Deepthi Doppalapudi <107422736+deepthidoppalapudihmcts@users.noreply.github.com> Date: Mon, 6 Mar 2023 13:06:31 +0000 Subject: [PATCH] CIV-7037 Removed PBA Accounts in General Applications (#2282) * CIV-7037 Removed PBA Accounts * CIV-7037 Removed unused list elements * CIV-7037 Removed unused listElement code --------- Co-authored-by: Deepthi Doppalapudi --- .../solicitorGAspec.json | 14 --------- .../ComplexTypes/GAPBADetailsGAspec.json | 16 ---------- .../events/createGeneralApplication.js | 29 ------------------- 3 files changed, 59 deletions(-) diff --git a/ccd-definition/AuthorisationComplexType/solicitorGAspec.json b/ccd-definition/AuthorisationComplexType/solicitorGAspec.json index 4cbc6e8a10..88363b7e66 100644 --- a/ccd-definition/AuthorisationComplexType/solicitorGAspec.json +++ b/ccd-definition/AuthorisationComplexType/solicitorGAspec.json @@ -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", @@ -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", diff --git a/ccd-definition/ComplexTypes/GAPBADetailsGAspec.json b/ccd-definition/ComplexTypes/GAPBADetailsGAspec.json index 1adfd889dd..505d8264d1 100644 --- a/ccd-definition/ComplexTypes/GAPBADetailsGAspec.json +++ b/ccd-definition/ComplexTypes/GAPBADetailsGAspec.json @@ -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", diff --git a/e2e/fixtures/events/createGeneralApplication.js b/e2e/fixtures/events/createGeneralApplication.js index 0df2aa72e2..03b747db58 100644 --- a/e2e/fixtures/events/createGeneralApplication.js +++ b/e2e/fixtures/events/createGeneralApplication.js @@ -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 { @@ -64,14 +59,6 @@ module.exports = { SupportRequirement: [] }, generalAppPBADetails: { - applicantsPbaAccounts: { - list_items: [ - validPba, - invalidPba - ], - value: selectedPba - }, - pbaReference: 'Test PBA Reference', paymentSuccessfulDate: null, fee: { calculatedAmountInPence: calculatedAmount, @@ -148,14 +135,6 @@ module.exports = { SupportRequirement: [] }, generalAppPBADetails: { - applicantsPbaAccounts: { - list_items: [ - validPba, - invalidPba - ], - value: selectedPba - }, - pbaReference: 'Test PBA Reference', paymentSuccessfulDate: null, fee: { calculatedAmountInPence: calculatedAmount, @@ -231,14 +210,6 @@ module.exports = { SupportRequirement: [] }, generalAppPBADetails: { - applicantsPbaAccounts: { - list_items: [ - validPba, - invalidPba - ], - value: selectedPba - }, - pbaReference: 'Test PBA Reference', paymentSuccessfulDate: null, fee: { calculatedAmountInPence: '27500',