Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
9ed2b4d
HDPI-3928: Fix path-to-regexp security vulnerabilities (#1002)
arun-hmcts Mar 30, 2026
e67a4ff
HDPI-3519: added page url tracking for feedback link (#959)
paddy-hmcts Mar 30, 2026
20eec3a
HDPI-3769:WIP
libanAbdirahman1 Mar 31, 2026
d662fdb
Merge remote-tracking branch 'origin/HDPI-3764-income-expenditure-fro…
libanAbdirahman1 Apr 1, 2026
d34dad9
HDPI-3769:Fixing lint issue
libanAbdirahman1 Apr 1, 2026
74c1096
HDPI-3769:Minor refactoring
libanAbdirahman1 Apr 1, 2026
05b8007
Merge remote-tracking branch 'origin/HDPI-3764-income-expenditure-fro…
libanAbdirahman1 Apr 1, 2026
1474047
HDPI-3769: Added new type for repeated related fields
libanAbdirahman1 Apr 2, 2026
c2ff633
Merge remote-tracking branch 'origin/HDPI-3764-income-expenditure-fro…
libanAbdirahman1 Apr 2, 2026
4a905ae
HDPI-3769:Adding placeholder page
libanAbdirahman1 Apr 7, 2026
4c240c3
Merge remote-tracking branch 'origin/HDPI-3764-income-expenditure-fro…
libanAbdirahman1 Apr 7, 2026
a4da0b2
Merge branch 'HDPI-3764-income-expenditure-frontend' into HDPI-3769-R…
madhavi1203 Apr 8, 2026
1dbe434
HDPI-3769:Updating error message
libanAbdirahman1 Apr 9, 2026
dc96b35
HDPI-3769:Removed service title as per UCD
libanAbdirahman1 Apr 13, 2026
b6c124a
Merge remote-tracking branch 'origin/HDPI-3764-income-expenditure-fro…
libanAbdirahman1 Apr 14, 2026
395cb69
HDPI-3769:Moving installment payments page to the correct place in ro…
libanAbdirahman1 Apr 14, 2026
a08062f
Merge remote-tracking branch 'origin/HDPI-3764-income-expenditure-fro…
libanAbdirahman1 Apr 15, 2026
da68c5c
HDPI-3769:Fixing lint issues post merge
libanAbdirahman1 Apr 15, 2026
d05fa8a
HDPI-3769:Fixing flow config flow post merge
libanAbdirahman1 Apr 15, 2026
1afd9f3
Merge remote-tracking branch 'origin/HDPI-3764-income-expenditure-fro…
libanAbdirahman1 Apr 16, 2026
5e8621a
HDPI-3769:Fixing import issue
libanAbdirahman1 Apr 16, 2026
64f96b7
Merge branch 'HDPI-3764-income-expenditure-frontend' into HDPI-3769-R…
madhavi1203 Apr 17, 2026
ff2b495
Merge remote-tracking branch 'origin/HDPI-3764-income-expenditure-fro…
libanAbdirahman1 Apr 20, 2026
40e4be7
Merge remote-tracking branch 'origin/HDPI-3764-income-expenditure-fro…
libanAbdirahman1 Apr 22, 2026
abd08f8
Merge branch 'HDPI-3764-income-expenditure-frontend' into HDPI-3769-R…
madhavi1203 Apr 23, 2026
fe20739
Merge branch 'HDPI-3764-income-expenditure-frontend' into HDPI-3769-R…
madhavi1203 Apr 23, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
{
"pageTitle": "cyRegular expenses",
"heading": "cyWhat other regular expenses do you have? (Optional)",
"hintText": "cySelect all that apply. Enter total amount in pounds and pence, for example £148.00 or £148.50. The information you provide must be truthful and accurate.",
"options": {
"householdBills": "cyHousehold bills (for example, council tax, gas, electricity, water, internet)",
"loanPayments": "cyLoan payments",
"childSpousalMaintenance": "cyChild or spousal maintenance",
"mobilePhone": "cyMobile phone",
"groceryShopping": "cyGrocery shopping",
"fuelParkingTransport": "cyFuel, parking and transport",
"schoolCosts": "cySchool costs (for example, uniform and school dinners)",
"clothing": "cyClothing",
"otherExpenses": "cyOther"
},
"subFields": {
"amount": "cyAmount paid",
"frequency": "cyPaid every:"
},
"frequency": {
"week": "cyWeek",
"month": "cyMonth"
},
"errors": {
"householdBillsAmount": {
"required": "cyEnter the amount you pay for household bills",
"negative": "cyThe amount you pay for household bills each week or month must be £0.00 or above",
"largeAmount": "cyThe amount you pay for household bills each week or month must be less than £1 billion"
},
"householdBillsFrequency": {
"required": "cySelect how frequently you pay household bills"
},
"loanPaymentsAmount": {
"required": "cyEnter the amount you pay for loan payments",
"negative": "cyThe amount you pay for loan payments each week or month must be £0.00 or above",
"largeAmount": "cyThe amount you pay for loan payments each week or month must be less than £1 billion"
},
"loanPaymentsFrequency": {
"required": "cySelect how frequently you make loan payments"
},
"childSpousalMaintenanceAmount": {
"required": "cyEnter the amount you pay for child or spousal maintenance",
"negative": "cyThe amount you pay for child or spousal maintenance each week or month must be £0.00 or above",
"largeAmount": "cyThe amount you pay for child or spousal maintenance each week or month must be less than £1 billion"
},
"childSpousalMaintenanceFrequency": {
"required": "cySelect how frequently you pay child or spousal maintenance"
},
"mobilePhoneAmount": {
"required": "cyEnter the amount you pay for a mobile phone",
"negative": "cyThe amount you pay for a mobile phone each week or month must be £0.00 or above",
"largeAmount": "cyThe amount you pay for a mobile phone each week or month must be less than £1 billion"
},
"mobilePhoneFrequency": {
"required": "cySelect how frequently you pay for a mobile phone"
},
"groceryShoppingAmount": {
"required": "cyEnter the amount you pay for grocery shopping",
"negative": "cyThe amount you pay for grocery shopping each week or month must be £0.00 or above",
"largeAmount": "cyThe amount you pay for grocery shopping each week or month must be less than £1 billion"
},
"groceryShoppingFrequency": {
"required": "cySelect how frequently you pay for grocery shopping"
},
"fuelParkingTransportAmount": {
"required": "cyEnter the amount you pay for fuel, parking and transport",
"negative": "cyThe amount you pay for fuel, parking and transport each week or month must be £0.00 or above",
"largeAmount": "cyThe amount you pay for fuel, parking and transport each week or month must be less than £1 billion"
},
"fuelParkingTransportFrequency": {
"required": "cySelect how frequently you pay for fuel, parking and transport"
},
"schoolCostsAmount": {
"required": "cyEnter the amount you pay for school costs",
"negative": "cyThe amount you pay for school costs each week or month must be £0.00 or above",
"largeAmount": "cyThe amount you pay for school costs each week or month must be less than £1 billion"
},
"schoolCostsFrequency": {
"required": "cySelect how frequently you pay school costs"
},
"clothingAmount": {
"required": "cyEnter the amount you pay for clothing",
"negative": "cyThe amount you pay for clothing each week or month must be £0.00 or above",
"largeAmount": "cyThe amount you pay for clothing each week or month must be less than £1 billion"
},
"clothingFrequency": {
"required": "cySelect how frequently you pay for clothing"
},
"otherExpensesAmount": {
"required": "cyEnter the amount you pay for other regular expenses",
"negative": "cyThe amount you pay for other expenses each week or month must be £0.00 or above",
"largeAmount": "cyThe amount you pay for other expenses each week or month must be less than £1 billion"
},
"otherExpensesFrequency": {
"required": "cySelect how frequently you pay for other expenses"
},
"amount": {
"invalidFormat": "cyEnter an amount in the correct format, for example 148.00 or 148.50"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
{
"pageTitle": "Regular expenses",
"heading": "What other regular expenses do you have? (Optional)",
"hintText": "Select all that apply. Enter total amount in pounds and pence, for example £148.00 or £148.50. The information you provide must be truthful and accurate.",
"options": {
"householdBills": "Household bills (for example, council tax, gas, electricity, water, internet)",
"loanPayments": "Loan payments",
"childSpousalMaintenance": "Child or spousal maintenance",
"mobilePhone": "Mobile phone",
"groceryShopping": "Grocery shopping",
"fuelParkingTransport": "Fuel, parking and transport",
"schoolCosts": "School costs (for example, uniform and school dinners)",
"clothing": "Clothing",
"otherExpenses": "Other"
},
"subFields": {
"amount": "Amount paid",
"frequency": "Paid every:"
},
"frequency": {
"week": "Week",
"month": "Month"
},
"errors": {
"householdBillsAmount": {
"required": "Enter the amount you pay for household bills",
"negative": "The amount you pay for household bills each week or month must be £0.00 or above",
"largeAmount": "The amount you pay for household bills each week or month must be less than £1 billion"
},
"householdBillsFrequency": {
"required": "Select how frequently you pay household bills"
},
"loanPaymentsAmount": {
"required": "Enter the amount you pay for loan payments",
"negative": "The amount you pay for loan payments each week or month must be £0.00 or above",
"largeAmount": "The amount you pay for loan payments each week or month must be less than £1 billion"
},
"loanPaymentsFrequency": {
"required": "Select how frequently you make loan payments"
},
"childSpousalMaintenanceAmount": {
"required": "Enter the amount you pay for child or spousal maintenance",
"negative": "The amount you pay for child or spousal maintenance each week or month must be £0.00 or above",
"largeAmount": "The amount you pay for child or spousal maintenance each week or month must be less than £1 billion"
},
"childSpousalMaintenanceFrequency": {
"required": "Select how frequently you pay child or spousal maintenance"
},
"mobilePhoneAmount": {
"required": "Enter the amount you pay for a mobile phone",
"negative": "The amount you pay for a mobile phone each week or month must be £0.00 or above",
"largeAmount": "The amount you pay for a mobile phone each week or month must be less than £1 billion"
},
"mobilePhoneFrequency": {
"required": "Select how frequently you pay for a mobile phone"
},
"groceryShoppingAmount": {
"required": "Enter the amount you pay for grocery shopping",
"negative": "The amount you pay for grocery shopping each week or month must be £0.00 or above",
"largeAmount": "The amount you pay for grocery shopping each week or month must be less than £1 billion"
},
"groceryShoppingFrequency": {
"required": "Select how frequently you pay for grocery shopping"
},
"fuelParkingTransportAmount": {
"required": "Enter the amount you pay for fuel, parking and transport",
"negative": "The amount you pay for fuel, parking and transport each week or month must be £0.00 or above",
"largeAmount": "The amount you pay for fuel, parking and transport each week or month must be less than £1 billion"
},
"fuelParkingTransportFrequency": {
"required": "Select how frequently you pay for fuel, parking and transport"
},
"schoolCostsAmount": {
"required": "Enter the amount you pay for school costs",
"negative": "The amount you pay for school costs each week or month must be £0.00 or above",
"largeAmount": "The amount you pay for school costs each week or month must be less than £1 billion"
},
"schoolCostsFrequency": {
"required": "Select how frequently you pay school costs"
},
"clothingAmount": {
"required": "Enter the amount you pay for clothing",
"negative": "The amount you pay for clothing each week or month must be £0.00 or above",
"largeAmount": "The amount you pay for clothing each week or month must be less than £1 billion"
},
"clothingFrequency": {
"required": "Select how frequently you pay for clothing"
},
"otherExpensesAmount": {
"required": "Enter the amount you pay for other regular expenses",
"negative": "The amount you pay for other expenses each week or month must be £0.00 or above",
"largeAmount": "The amount you pay for other expenses each week or month must be less than £1 billion"
},
"otherExpensesFrequency": {
"required": "Select how frequently you pay for other expenses"
},
"amount": {
"invalidFormat": "Enter an amount in the correct format, for example 148.00 or 148.50"
}
}
}
15 changes: 15 additions & 0 deletions src/main/services/ccdCase.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ export type EqualityAndDiversityQuestionsChoice = 'CONTINUE' | 'SKIP' | null;
export type FrequencyValue = 'WEEKLY' | 'MONTHLY';
export type PenceAmount = string;

export interface IncomeExpenseDetails {
applies: YesNoValue;
amount?: PenceAmount;
frequency?: FrequencyValue;
}

export interface HouseholdCircumstances {
shareAdditionalCircumstances?: YesNoValue;
additionalCircumstancesDetails?: string;
Expand Down Expand Up @@ -49,6 +55,15 @@ export interface HouseholdCircumstances {
otherBenefitsFrequency?: FrequencyValue;
moneyFromElsewhere?: YesNoValue;
moneyFromElsewhereDetails?: string;
householdBills?: IncomeExpenseDetails;
loanPayments?: IncomeExpenseDetails;
childSpousalMaintenance?: IncomeExpenseDetails;
mobilePhone?: IncomeExpenseDetails;
groceryShopping?: IncomeExpenseDetails;
fuelParkingTransport?: IncomeExpenseDetails;
schoolCosts?: IncomeExpenseDetails;
clothing?: IncomeExpenseDetails;
otherExpenses?: IncomeExpenseDetails;
}

export type PaymentAgreement = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,14 @@
{% if errorSummary %}
{{ govukErrorSummary(errorSummary) }}
{% endif %}

<h1 class="govuk-heading-l">Other considerations (placeholder)</h1>
<p class="govuk-body">This is a placeholder for Other Considerations step.</p>

<form method="post" action="{{ url }}">
{{ stepButtons(continue, saveForLater) }}
{{ csrfProtection(csrfToken) }}
</form>

{% endblock %}

Loading