X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FVK.pm;h=f20414c7fbfa387cc5c03125aaecdb6ffa426f6d;hb=1fd3b7370bb8d9000229b34b989f5e2eacbebf04;hp=6d7df707a26850458bcf88063081aaa408333988;hpb=aff48c9512cb1cf6568654f7819c16638af0eac8;p=kivitendo-erp.git diff --git a/SL/VK.pm b/SL/VK.pm index 6d7df707a..f20414c7f 100644 --- a/SL/VK.pm +++ b/SL/VK.pm @@ -72,7 +72,7 @@ sub invoice_transactions { # limits by employees (Bearbeiter), not salesmen! if (!$main::auth->assert('sales_all_edit', 1)) { $where .= " AND ar.employee_id = (select id from employee where login= ?)"; - push (@values, $form->{login}); + push (@values, $::myconfig{login}); } # Stornierte Rechnungen und Stornorechnungen in invoice rausfiltern