projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5a63f05
)
Falsches Recht für Kreditorenbeleg überprüft
author
Jan Büren
<jan@kivitendo.de>
Mon, 25 Mar 2019 12:11:47 +0000
(13:11 +0100)
committer
Jan Büren
<jan@kivitendo.de>
Mon, 25 Mar 2019 12:11:47 +0000
(13:11 +0100)
bin/mozilla/ap.pl
patch
|
blob
|
history
diff --git
a/bin/mozilla/ap.pl
b/bin/mozilla/ap.pl
index
5591548
..
49f6f7a
100644
(file)
--- a/
bin/mozilla/ap.pl
+++ b/
bin/mozilla/ap.pl
@@
-1201,7
+1201,7
@@
sub setup_ap_search_action_bar {
sub setup_ap_transactions_action_bar {
my %params = @_;
sub setup_ap_transactions_action_bar {
my %params = @_;
- my $may_edit_create = $::auth->assert('
vendor_invoice_edit
', 1);
+ my $may_edit_create = $::auth->assert('
ap_transactions
', 1);
for my $bar ($::request->layout->get('actionbar')) {
$bar->add(
for my $bar ($::request->layout->get('actionbar')) {
$bar->add(
@@
-1234,7
+1234,7
@@
sub setup_ap_display_form_action_bar {
my $is_storno = IS->is_storno(\%::myconfig, $::form, 'ap', $::form->{id});
my $has_storno = IS->has_storno(\%::myconfig, $::form, 'ap');
my $is_storno = IS->is_storno(\%::myconfig, $::form, 'ap', $::form->{id});
my $has_storno = IS->has_storno(\%::myconfig, $::form, 'ap');
- my $may_edit_create = $::auth->assert('
vendor_invoice_edit
', 1);
+ my $may_edit_create = $::auth->assert('
ap_transactions
', 1);
my $has_sepa_exports;
if ($::form->{id}) {
my $has_sepa_exports;
if ($::form->{id}) {