From: Moritz Bunkus Date: Mon, 25 Feb 2013 09:09:39 +0000 (+0100) Subject: Finanzcontrollingbericht: ungültige und inaktive Projekte herausfiltern X-Git-Tag: release-3.1.0beta1~22^2~71 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=baab8c2f48e608af0566de78fd34e62f13173d66;p=kivitendo-erp.git Finanzcontrollingbericht: ungültige und inaktive Projekte herausfiltern --- 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;