diff --git a/app/components/planning_applications/assessment/assessment_report_component.html.erb b/app/components/planning_applications/assessment/assessment_report_component.html.erb index bd0912a7f..0bfbe6f38 100644 --- a/app/components/planning_applications/assessment/assessment_report_component.html.erb +++ b/app/components/planning_applications/assessment/assessment_report_component.html.erb @@ -56,11 +56,9 @@ PlanningApplications::ImmunityDetailsAssessmentComponent.new(planning_application: planning_application, evidence_groups: immunity_detail.evidence_groups) ) %>
On the balance of probabilities, is the development immune from enforcement action?
-
- <%= review_immunity_detail.decision %>
- <%= review_immunity_detail.decision_reason %>
-
<%= review_immunity_detail.summary %>
+Decision: <%= review_immunity_detail.decision %>
+Reason: <%= review_immunity_detail.decision_reason %>
+Summary: <%= review_immunity_detail.summary %>
<% end %> <% if permitted_development_right.persisted? %> diff --git a/app/components/planning_applications/immunity_details_assessment_component.html.erb b/app/components/planning_applications/immunity_details_assessment_component.html.erb index b66581785..55ef0af06 100644 --- a/app/components/planning_applications/immunity_details_assessment_component.html.erb +++ b/app/components/planning_applications/immunity_details_assessment_component.html.erb @@ -1,10 +1,12 @@+ Relevant dates: <%= evidence_group.date_range %> +
+ + <% if applicant_comment = evidence_group.applicant_comment %> + <%= bops_ticket_panel(colour: "grey", classes: %w[govuk-!-margin-bottom-2]) do |ticket| %> + <% ticket.with_body { applicant_comment } %> + <% ticket.with_footer { "By applicant" } %> + <% end %> + <% end %> + + <% if comment = evidence_group.last_comment %> + <%= bops_ticket_panel(colour: "yellow", classes: %w[govuk-!-margin-bottom-2]) do |ticket| %> + <% ticket.with_body { comment.text } %> + <% ticket.with_footer { comment.information } %> + <% end %> + <% end %> +Question | +Applicant response | +
---|---|
+ <%= proposal_detail.question %> + | ++ <%= response_value.to_time.nil? ? response_value : response_value.to_time.to_fs(:day_month_year_slashes) %> + | +