From baab8c2f48e608af0566de78fd34e62f13173d66 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 25 Feb 2013 10:09:39 +0100 Subject: [PATCH] =?utf8?q?Finanzcontrollingbericht:=20ung=C3=BCltige=20und?= =?utf8?q?=20inaktive=20Projekte=20herausfiltern?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Controller/FinancialControllingReport.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/SL/Controller/FinancialControllingReport.pm b/SL/Controller/FinancialControllingReport.pm index 8cfb3c731..e57599ace 100644 --- a/SL/Controller/FinancialControllingReport.pm +++ b/SL/Controller/FinancialControllingReport.pm @@ -70,6 +70,12 @@ sub setup_db_args_for_list { $args{query} = [ @{ $args{query} || [] }, SL::DB::Manager::Order->type_filter('sales_order'), + or => [ + globalproject_id => undef, + and => [ + 'globalproject.active' => 1, + 'globalproject.valid' => 1, + ]], ]; return \%args; -- 2.20.1