From 4b1bd362e01e9c21e40bbc79189c0661afe79022 Mon Sep 17 00:00:00 2001 From: Mohamed ABDELLANI Date: Fri, 18 Nov 2022 07:29:08 +0100 Subject: [PATCH] [skip ci] add hub filter to the Order and Distributors report --- .../admin/reports/filters/_orders_and_distributors.html.haml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/views/admin/reports/filters/_orders_and_distributors.html.haml b/app/views/admin/reports/filters/_orders_and_distributors.html.haml index 35c5a74266..c79c22c66f 100644 --- a/app/views/admin/reports/filters/_orders_and_distributors.html.haml +++ b/app/views/admin/reports/filters/_orders_and_distributors.html.haml @@ -1 +1,5 @@ = render 'admin/reports/date_range_form', f: f + +.row + .alpha.two.columns= label_tag nil, t(:report_hubs) + .omega.fourteen.columns= f.collection_select(:distributor_id_in, @data.orders_distributors, :id, :name, {}, {class: "select2 fullwidth", multiple: true})