<%= govuk_link_to lettings_log_path(log) do %> Log <%= log.id %> <% end %>

<% if log.tenancycode? or log.propcode? %> <% end %>
<% if log.needstype? or log.startdate? %>

<% if log.needstype? %> <%= log.is_general_needs? ? "General needs" : "Supported housing" %>
<% end %> <% if log.startdate? %> Tenancy starts <% end %>

<% end %> <% if current_user.support? || current_user.organisation.has_managing_agents? || current_user.organisation.has_recent_absorbed_organisations? %> <% end %>