Files
openfoodnetwork/app/views/spree/admin/reports/sales_tax.html.haml
2018-12-27 12:22:48 +01:00

20 lines
728 B
Plaintext

= form_for @report.search, :url => spree.sales_tax_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_customers_type)
%br
= select_tag(:report_type, options_for_select([[t(:report_tax_types),:tax_types],[t(:report_tax_rates),:tax_rates]], @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", column_partials: {0 => "link_order"}, msg_option: t(:search)