mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-28 21:07:16 +00:00
20 lines
746 B
Plaintext
20 lines
746 B
Plaintext
= form_for @report.search, :url => spree.bulk_coop_admin_reports_path do |f|
|
|
= render 'date_range_form', f: f
|
|
|
|
.row
|
|
.four.columns.alpha
|
|
= label_tag nil, t(:report_distributor)
|
|
= f.collection_select(:distributor_id_eq, @distributors, :id, :name, {:include_blank => t(:all)}, {:class => "select2 fullwidth"})
|
|
= label_tag nil, t(:report_type)
|
|
%br
|
|
= select_tag(:report_type, options_for_select([:bulk_coop_supplier_report, :bulk_coop_allocation, :bulk_coop_packing_sheets, :bulk_coop_customer_payments].map{ |e| [t(".#{e}"), e] }, @report_type))
|
|
%br
|
|
%br
|
|
= check_box_tag :csv
|
|
= label_tag :csv, t(:report_customers_csv)
|
|
%br
|
|
%br
|
|
= button t(:search)
|
|
|
|
= render "table", id: "listing_orders", msg_option: t(:search)
|