Reporte de utilidades por periodo

<%= form_tag(utilities_report_path, method: :get, remote: true) do |f| %>
Punto de venta
<%= select_tag "pointsale", options_from_collection_for_select(Pointsale.vigentes, :id, :name), include_blank: "Todos", class: "form-control input-medium" %>
Del
<%= text_field_tag "start_date", l(Date.today.beginning_of_month, format: '%d/%m/%Y'), class: "form-control" %>
Al
<%= text_field_tag "end_date", l(Date.today.end_of_month, format: '%d/%m/%Y'), class: "form-control" %>
Línea
<%= select_tag "category", options_from_collection_for_select(Category.activos_padre, :id, :category), include_blank: "Todas", class: "form-control select2-allow-clear-todas", onchange: 'getSubCategories($(this).val());'%>
Sublínea
<%= collection_select("", :subcategory, ({}), :id, :category, options = { include_blank: "Todas" }, html_options = { class: 'form-control select2-allow-clear-todas input-medium' }) %>
<%= submit_tag 'Filtrar', { class: "btn green bold btn-block", style: 'margin:0px' } %>
<% end %>
Ventas e ingresos