diff --git a/app/components/log_summary_component.html.erb b/app/components/log_summary_component.html.erb index e49567288..87e704ae3 100644 --- a/app/components/log_summary_component.html.erb +++ b/app/components/log_summary_component.html.erb @@ -23,8 +23,17 @@ <% end %> <% end %> + <% if log.sales? %> +
+ <% if log.purchaser_code %> +
+ + +
+ <% end %> +
+ <% end %> - <% if log.lettings? && (log.needstype? or log.startdate?) %>

<% if log.needstype? %> @@ -35,17 +44,21 @@ <% end %>

<% end %> - <% if log.sales? %>

- <%= case log.ownership_scheme %> - when 1 then "shared ownership" - <% when 2 then "discounted ownership" - <% when 3 then "outright sale" %>> <% end %> - <% end %> + <% if log.ownership_scheme %> + <%= case log.ownership_scheme + when "shared ownership" then "Shared ownership" + when "discounted ownership" then "Discounted ownership" + when "outright sale" then "Outright or other sale" + end %> +
+ <% end %> + <% if log.saledate %> + Sale completed + <% end %>

<% end %> - <% if current_user.support? || current_user.organisation.has_managing_agents? %>
<% if log.owning_organisation %> @@ -63,7 +76,6 @@
<% end %> -