Skip to content

feat: add cancellation code setup for user actions#160

Merged
plakkara-bc merged 2 commits intodevfrom
feature/cancellation-code-user-actions
Mar 20, 2026
Merged

feat: add cancellation code setup for user actions#160
plakkara-bc merged 2 commits intodevfrom
feature/cancellation-code-user-actions

Conversation

@mdiapenabc
Copy link
Collaborator

Description

Sets default cancellation fields (cancelReasonCode and careEndDate) when a user manually marks a contact as "Not Eligible" via the button, ensuring CRA cancellation files have the required fields populated.

What Changes

  • Set cancelReasonCode to '21' (default) on SET_NOT_ELIGIBLE if not already set by the eligibility engine
  • Set careEndDate to current Pacific date on every SET_NOT_ELIGIBLE transition
  • Apply to all source statuses (in_pay, eligible_tbd, on_hold), not just in_pay

@plakkara-bc plakkara-bc self-requested a review March 19, 2026 20:37
@plakkara-bc plakkara-bc merged commit 14503e7 into dev Mar 20, 2026
18 checks passed
@plakkara-bc plakkara-bc deleted the feature/cancellation-code-user-actions branch March 20, 2026 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants