X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/5534d9cb025cc4036f6fcce28a24c5e5b164641e..040aa711a11c32b18e08f048a4014310bddf074f:/SL/Controller/FinancialControllingReport.pm diff --git a/SL/Controller/FinancialControllingReport.pm b/SL/Controller/FinancialControllingReport.pm index 125a8a855..3dff17158 100644 --- a/SL/Controller/FinancialControllingReport.pm +++ b/SL/Controller/FinancialControllingReport.pm @@ -243,6 +243,7 @@ sub init_models { query => [ SL::DB::Manager::Order->type_filter('sales_order'), '!closed' => 1, + (salesman_id => SL::DB::Manager::Employee->current->id) x !$::auth->assert('sales_all_edit', 1), or => [ globalproject_id => undef, and => [