X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fvk.pl;h=6c10f4d017e6e97da82bd7a006a10918c0ad1599;hb=b36f0864f0304deb66f4215c52b68351f90b2309;hp=2cbb6afd508e4e75b9c438289b4a2af3e52516d2;hpb=62726dfdf4f763efa65c25fcfe8658d98649c8a8;p=kivitendo-erp.git diff --git a/bin/mozilla/vk.pl b/bin/mozilla/vk.pl index 2cbb6afd5..6c10f4d01 100644 --- a/bin/mozilla/vk.pl +++ b/bin/mozilla/vk.pl @@ -48,7 +48,7 @@ use strict; sub search_invoice { $main::lxdebug->enter_sub(); - $main::auth->assert('general_ledger | invoice_edit'); + $main::auth->assert('ar_transactions | ap_transactions | invoice_edit'); my $form = $main::form; my %myconfig = %main::myconfig; @@ -92,7 +92,7 @@ sub search_invoice { sub invoice_transactions { $main::lxdebug->enter_sub(); - $main::auth->assert('general_ledger | invoice_edit'); + $main::auth->assert('ar_transactions | ap_transactions | invoice_edit'); my $form = $main::form; my %myconfig = %main::myconfig; @@ -296,7 +296,7 @@ sub invoice_transactions { # The sellprice total can be calculated from sellprice or fxsellprice (the # value that was actually entered in the sellprice field and is always - # stored seperately). However, for fxsellprice this method only works when + # stored separately). However, for fxsellprice this method only works when # the tax is not included, because otherwise fxsellprice includes the tax # and there is no simple way to extract the tax rate of the article from # the big query.