From 5a6f624b272df1963a82d7954cfcc6d188223dbf Mon Sep 17 00:00:00 2001 From: Kat Date: Thu, 30 Nov 2023 08:55:09 +0000 Subject: [PATCH] Display labels and filters for merged orgs --- .../lettings_log_summary_component.html.erb | 2 +- .../sales_log_summary_component.html.erb | 2 +- app/helpers/filters_helper.rb | 4 ++-- app/models/organisation.rb | 4 ++++ .../requests/lettings_logs_controller_spec.rb | 14 +++++++++++++ spec/requests/sales_logs_controller_spec.rb | 20 +++++++++++++++++++ 6 files changed, 42 insertions(+), 4 deletions(-) diff --git a/app/components/lettings_log_summary_component.html.erb b/app/components/lettings_log_summary_component.html.erb index b0bc9fed8..1845a155f 100644 --- a/app/components/lettings_log_summary_component.html.erb +++ b/app/components/lettings_log_summary_component.html.erb @@ -34,7 +34,7 @@ <% end %>

<% end %> - <% if current_user.support? || current_user.organisation.has_managing_agents? %> + <% if current_user.support? || current_user.organisation.has_managing_agents? || current_user.organisation.has_recent_absorbed_organisations? %>
<% if log.owning_organisation %>