mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-27 21:06:49 +00:00
20 lines
777 B
Plaintext
20 lines
777 B
Plaintext
= form_for @report.search, :url => spree.payments_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(:report_all)}, {:class => "select2 fullwidth"})
|
|
= label_tag nil, t(:report_customers_type)
|
|
%br
|
|
= select_tag(:report_type, options_for_select([[t(:report_payment_by),:payments_by_payment_type],[t(:report_itemised_payment),:itemised_payment_totals],[t(:report_payment_totals),:payment_totals]], @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)
|