Skip to content

HDPI-3769 Regular expenses#1610

Open
libanAbdirahman1 wants to merge 11 commits intomasterfrom
HDPI-3769-BE-Regular-expenses
Open

HDPI-3769 Regular expenses#1610
libanAbdirahman1 wants to merge 11 commits intomasterfrom
HDPI-3769-BE-Regular-expenses

Conversation

@libanAbdirahman1
Copy link
Copy Markdown
Contributor

@libanAbdirahman1 libanAbdirahman1 commented Mar 31, 2026

Jira link

HDPI-3769

Change description

Testing done

  • Tests added for new logic

Security Vulnerability Assessment

CVE Suppression: Are there any CVEs present in the codebase (either newly introduced or pre-existing) that are being intentionally suppressed or ignored by this commit?

  • Yes
  • No

Checklist

  • commit messages are meaningful and follow good commit message guidelines
  • README and other documentation has been updated / added (if needed)
  • tests have been updated / new tests has been added (if needed)
  • Does this PR introduce a breaking change

@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 31, 2026

CCD diff summary

👉 Full report: https://github.com/hmcts/pcs-api/actions/runs/23905419565?check_suite_focus=true

ComplexTypes/1_HouseholdCircumstances.json

ListElementCodeIDFieldTypeElementLabel
+householdBills
+HouseholdCircumstances
+IncomeExpenseDetails
+ 
+loanPayments
+HouseholdCircumstances
+IncomeExpenseDetails
+ 
+childSpousalMaintenance
+HouseholdCircumstances
+IncomeExpenseDetails
+ 
+mobilePhone
+HouseholdCircumstances
+IncomeExpenseDetails
+ 
+groceryShopping
+HouseholdCircumstances
+IncomeExpenseDetails
+ 
+fuelParkingTransport
+HouseholdCircumstances
+IncomeExpenseDetails
+ 
+schoolCosts
+HouseholdCircumstances
+IncomeExpenseDetails
+ 
+clothing
+HouseholdCircumstances
+IncomeExpenseDetails
+ 
+otherExpenses
+HouseholdCircumstances
+IncomeExpenseDetails
+ 

ComplexTypes/0_IncomeExpenseDetails.json

ElementLabelFieldTypeIDListElementCode
+ 
+YesOrNo
+IncomeExpenseDetails
+applies
+ 
+MoneyGBP
+IncomeExpenseDetails
+amount
+ 
+FixedRadioList
+RecurrenceFrequency
+IncomeExpenseDetails
+frequency

FixedLists/RecurrenceFrequency.json

IDListElementListElementCode
+RecurrenceFrequency
+Monthly
+MONTHLY
+RecurrenceFrequency
+Weekly
+WEEKLY

@Getter
public enum RecurrenceFrequency implements HasLabel {
WEEKLY("Weekly"),
MONTHLY("Monthly");
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like I've seen this enum being added for a different PR in the last week...

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes its was this Pr. I've kept this similar to that one as this frequency is used by income and expense pages.


private String regularExpenses;

//Columns to drop
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you mean to leave this comment?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well spotted, I intended to drop the columns which i did here

Copy link
Copy Markdown
Contributor

@tvr-hmcts tvr-hmcts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one comment on the entity - though pls check them if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants