Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRIMAPP-1106 combine partner and client premium bonds #627

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

timpeat
Copy link
Member

@timpeat timpeat commented Jun 24, 2024

Description of change

Combines partner an client premium bonds into a single card where appropriate.

Link to relevant ticket

https://dsdmoj.atlassian.net/browse/CRIMAPP-1106

Notes for reviewer

Screenshots of changes (if applicable)

Before changes:

Screenshot 2024-06-24 at 17 15 49

After changes:

Screenshot 2024-06-24 at 16 14 05 Screenshot 2024-06-24 at 16 20 06 Screenshot 2024-06-24 at 16 28 31

How to manually test the feature

@timpeat timpeat requested a review from a team as a code owner June 24, 2024 16:15
list.with_row do |row|
value = details.premium_bonds_total_value.to_i + details.partner_premium_bonds_total_value.to_i
Copy link
Contributor

Choose a reason for hiding this comment

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

We also need to add this up to pass to MAAT (arguably a problem for their adaptor, but realistically probably just depends who has capacity), if we store the combined amount in the datastore, we can display that here directly

Copy link
Contributor

@arthurashman arthurashman left a comment

Choose a reason for hiding this comment

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

Looks great, thank you 👍

@timpeat timpeat force-pushed the CRIMAPP-1106-commbins-premium-bond-totals branch from 586f066 to 6d23bc7 Compare June 25, 2024 09:40
@timpeat timpeat merged commit 2d46bba into main Jun 25, 2024
6 checks passed
@timpeat timpeat deleted the CRIMAPP-1106-commbins-premium-bond-totals branch June 25, 2024 09:47
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.

None yet

2 participants