From 1cd0f88c1e15593bb5bb5bf3cd1a3ff9f7ecff01 Mon Sep 17 00:00:00 2001 From: Mohamed ABDELLANI Date: Thu, 8 Jun 2023 09:10:30 +0100 Subject: [PATCH] fix supplier filter --- .../enterprise_fees_with_tax_report_by_producer.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/reporting/reports/enterprise_fee_summary/enterprise_fees_with_tax_report_by_producer.rb b/lib/reporting/reports/enterprise_fee_summary/enterprise_fees_with_tax_report_by_producer.rb index 1690677828..a458e95e3e 100644 --- a/lib/reporting/reports/enterprise_fee_summary/enterprise_fees_with_tax_report_by_producer.rb +++ b/lib/reporting/reports/enterprise_fee_summary/enterprise_fees_with_tax_report_by_producer.rb @@ -25,8 +25,8 @@ module Reporting def supplier_ids_filter(supplier_id) return true if params[:supplier_id_in].blank? - - params[:supplier_id_in].include?(supplier_id) + + params[:supplier_id_in].include?(supplier_id.to_s) end def enterprise_fee_filtered_ids