diff --git a/app/models/policies/early_years_payments/admin_tasks_presenter.rb b/app/models/policies/early_years_payments/admin_tasks_presenter.rb index be259ec421..fea1291328 100644 --- a/app/models/policies/early_years_payments/admin_tasks_presenter.rb +++ b/app/models/policies/early_years_payments/admin_tasks_presenter.rb @@ -24,10 +24,18 @@ def provider_entered_claimant_name claim.eligibility.practitioner_name end + def practitioner_entered_dob + claim.date_of_birth + end + def one_login_claimant_name claim.onelogin_idv_full_name end + def one_login_claimant_dob + claim.onelogin_idv_date_of_birth + end + def practitioner_journey_completed? claim.eligibility.practitioner_journey_completed? end diff --git a/app/views/admin/tasks/early_years_payments/identity_confirmation.html.erb b/app/views/admin/tasks/early_years_payments/identity_confirmation.html.erb index c8146aa0c0..d1632d11f4 100644 --- a/app/views/admin/tasks/early_years_payments/identity_confirmation.html.erb +++ b/app/views/admin/tasks/early_years_payments/identity_confirmation.html.erb @@ -22,21 +22,34 @@
Claimant identity check | +Full name | +Date of birth | +
---|---|---|
- Provider entered claimant name + One Login identity verification (IDV) | - <%= @tasks_presenter.provider_entered_claimant_name %> + <%= @tasks_presenter.one_login_claimant_name %> + | ++ <%= @tasks_presenter.one_login_claimant_dob %> |
- Claimant name from One login + Provider entered claimant name | - <%= @tasks_presenter.one_login_claimant_name %> + <%= @tasks_presenter.provider_entered_claimant_name %> + | ++ <%= @tasks_presenter.practitioner_entered_dob %> |