DDLS-410 Professional report pdf is missing the significant decisions for case #1761
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.
Purpose
The pdf for the report has been submitted by the professional deputy but part of the report is missing. The deputy has selected ‘yes' for the question Have you made any significant decisions for in this reporting period? However, the significant decisions have been cut off. The question is right at the bottom of the page and then begins on the next page with a new question.
Fixes DDLS-410
Approach
The problem seems to be when the significant decisions are longer than one page. I included an extra div tag separating the yes/no question and the significant decisions.
Learning
Any tips and tricks, blog posts or tools which helped you. Plus anything notable you've discovered about DigiDeps
Checklist
Frontend