Browse Source

Update filter content

pull/1772/head
Kat 3 years ago
parent
commit
deec0025c6
  1. 6
      app/views/logs/_log_filters.html.erb

6
app/views/logs/_log_filters.html.erb

@ -44,11 +44,11 @@
category: "user",
} %>
<% if @current_user.support? || @current_user.organisation.has_stock_owners? && request.path == "/lettings-logs" %>
<% if @current_user.support? || @current_user.organisation.stock_owners.count > 1 && request.path == "/lettings-logs" %>
<%= render partial: "filters/radio_filter", locals: {
f:,
options: {
"all": { label: "All" },
"all": { label: "Any owning organisation" },
"specific_org": {
label: "Specific owning organisation",
conditional_filter: {
@ -59,7 +59,7 @@
},
},
},
label: "Owning organisation",
label: "Owned by",
category: "owning_organisation_select",
} %>
<% end %>

Loading…
Cancel
Save