- <% case_logs.map do |log| %>
-
-
-
- <%= log.tenant_code? ? log.tenant_code : "–" %>
- |
-
- <%= log.propcode? ? log.propcode : "–" %>
- |
-
- <%= log.startdate.present? ? log.startdate.to_formatted_s(:govuk_date) : "–" %>
- |
-
- <%= log.created_at.to_formatted_s(:govuk_date) %>
- |
-
- <%= govuk_tag(
- colour: log.status == "completed" ? "blue" : "grey",
- text: log.status.humanize,
- ) %>
- |
- <% if current_user.support? %>
-
- <%= log.owning_organisation.name %>
- |
-
- <%= log.managing_organisation.name %>
- |
- <% end %>
-
- <% end %>
-
-