From 0a6c79998344bd422f4654f1a88cdb8c7ff7f67d Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 26 Feb 2013 13:40:59 +0100 Subject: [PATCH] =?utf8?q?Finanzcontrollingbericht:=20geschlossene=20Auftr?= =?utf8?q?=C3=A4ge=20nicht=20ber=C3=BCcksichtigen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Controller/FinancialControllingReport.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SL/Controller/FinancialControllingReport.pm b/SL/Controller/FinancialControllingReport.pm index e57599ace..6a836e583 100644 --- a/SL/Controller/FinancialControllingReport.pm +++ b/SL/Controller/FinancialControllingReport.pm @@ -70,7 +70,8 @@ sub setup_db_args_for_list { $args{query} = [ @{ $args{query} || [] }, SL::DB::Manager::Order->type_filter('sales_order'), - or => [ + '!closed' => 1, + or => [ globalproject_id => undef, and => [ 'globalproject.active' => 1, -- 2.20.1