]> wagnertech.de Git - mfinanz.git/blobdiff - SL/AR.pm
Recht für Debitoren- und Kreditorenbuchungen verbessert
[mfinanz.git] / SL / AR.pm
index d97c443d17dd9c0a6d934189cd2d14365123fa7d..ca3f61a26ef38f08edf57cc1f6b9e6875514afd9 100644 (file)
--- a/SL/AR.pm
+++ b/SL/AR.pm
@@ -516,7 +516,7 @@ sub ar_transactions {
 
   my $where = "1 = 1";
 
-  unless ( $main::auth->check_right($form->{login}, 'show_ar_transactions') ) { 
+  unless ( $::auth->assert('show_ar_transactions', 1) ) { 
     $where .= " AND NOT invoice = 'f' ";  # remove ar transactions from Sales -> Reports -> Invoices
   };