mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-06 22:36:07 +00:00
For now this view is used only in the context of packing, but later we would move all existing rpeort to use same view
16 lines
676 B
Plaintext
16 lines
676 B
Plaintext
- if @report_subtypes.any?
|
|
.row
|
|
.alpha.two.columns= label_tag nil, t(:report_type)
|
|
.omega.fourteen.columns
|
|
= select_tag(:report_subtype, options_for_select(@report_subtypes, @report_subtype))
|
|
|
|
.row.rendering-options
|
|
.alpha.two.columns
|
|
= label_tag :report_format, t(".generate_report")
|
|
.omega.fourteen.columns
|
|
= select_tag :report_format, options_for_select({t('.on_screen') => '', t('.csv_spreadsheet') => 'csv', t('.excel_spreadsheet') => 'xlsx', t('.openoffice_spreadsheet') => 'ods'})
|
|
|
|
-#.inline-checkbox
|
|
-# = check_box_tag "options[exclude_summaries]", true, params[:options].andand[:exclude_summaries]
|
|
-# = label_tag t(".hide_summary_rows")
|