X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FController%2FFinancialControllingReport.pm;h=3dff1715817905abe465a9dcb4200c0218bd10cc;hb=78c6fdee686577ce29d3392661bc4d39bc5481a9;hp=125a8a8559561d24bec5239c8b74522cd8815736;hpb=5534d9cb025cc4036f6fcce28a24c5e5b164641e;p=kivitendo-erp.git 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 => [