Reporte de utilidades por periodo
<%= form_tag(utilities_report_path, method: :get, remote: true) do |f| %>
<% end %>
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' } %>
Ventas e ingresos
NÚMERO DE VENTAS
0
PRODUCTOS VENDIDOS
0
TOTAL UTILIDAD
0
Desglose de ventas
| Fecha | Folio | Punto de venta |
Productos | Tipo | Status | Subtotal | IVA | Descto. | Total | Costo total |
Utilidad |
|---|