projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Steuernamen übersetztbar gemacht.
[kivitendo-erp.git]
/
SL
/
AP.pm
diff --git
a/SL/AP.pm
b/SL/AP.pm
index
bcd6d83
..
9215ab7
100644
(file)
--- a/
SL/AP.pm
+++ b/
SL/AP.pm
@@
-492,7
+492,7
@@
sub ap_transactions {
my $where = '';
my $where = '';
- unless ( $
main::auth->check_right($form->{login}, 'show_ap_transactions'
) ) {
+ unless ( $
::auth->assert('show_ap_transactions', 1
) ) {
$where .= " AND NOT invoice = 'f' "; # remove ap transactions from Sales -> Reports -> Invoices
};
$where .= " AND NOT invoice = 'f' "; # remove ap transactions from Sales -> Reports -> Invoices
};