<%= label_tag :q_line_items_variant_sku_eq, Spree.t(:sku) %>
<%= f.text_field :line_items_variant_sku_eq, class: 'form-control js-filterable' %>
<%= label_tag :q_promotions_id_in, Spree.t(:promotion) %>
<%= f.select :promotions_id_in, Spree::Promotion.applied.pluck(:name, :id), { include_blank: true }, class: 'select2-clear js-filterable' %>
<%= label_tag :q_channel_eq, Spree.t(:channel) %>
<%= f.select :channel_eq, Spree::Order.distinct.pluck(:channel), { include_blank: true }, class: 'select2-clear js-filterable' %>
<%= f.field_container :completed_at_not_null do %>
<%= f.check_box :completed_at_not_null, {checked: @show_only_completed, class: 'custom-control-input'}, '1', '0' %>
<%= f.label :completed_at_not_null, Spree.t(:show_only_complete_orders), class: 'custom-control-label' %>
<% end %>
<%= f.field_container :considered_risky_eq do %>
<%= f.check_box :considered_risky_eq, {checked: params[:q][:considered_risky_eq] == '1', class: 'custom-control-input'}, '1', '' %>
<%= f.label :considered_risky_eq, Spree.t(:show_only_considered_risky), class: 'custom-control-label' %>
<% end %>