Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
The document generator is currently generating what may amount to false declarations in the case that a respondent is responding to a sole application.
Respondents who are not represented by a solicitor are asked by
div-respondent-frontend
to make the following declaration:followed by a warning:
https://github.com/hmcts/div-respondent-frontend/blob/401d8984f348ea94390fab52f2a51bd997b71d96/steps/respondent/check-your-answers/CheckYourAnswers.content.json#L7 and https://github.com/hmcts/div-respondent-frontend/blob/401d8984f348ea94390fab52f2a51bd997b71d96/steps/respondent/check-your-answers/CheckYourAnswers.html#L58
But when they download their response (generated by
div-document-generator-client
) as a PDF, the document includes the declaration:undersigned by the respondents name.
This is incorrect, since at no point is the respondent asked to declare the application facts are true.
Indeed, respondents may well disagree with the application; they are asked only to acknowledge that they have read it: https://github.com/hmcts/div-respondent-frontend/blob/401d8984f348ea94390fab52f2a51bd997b71d96/steps/respondent/review-application/ReviewApplication.content.json#L58 and https://github.com/hmcts/div-respondent-frontend/blob/401d8984f348ea94390fab52f2a51bd997b71d96/steps/respondent/review-application/ReviewApplication.content.json#L146
I have therefore updated the respondent template to reflect the declaration that respondents have actually made.
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
I have not tested this change as I do not have a suitable development environment. I would welcome assistance from the service team in validating it.
Checklist: