Revision a8dac8db
Von Jan Büren vor mehr als 5 Jahren hinzugefügt
bin/mozilla/ap.pl | ||
---|---|---|
1201 | 1201 |
|
1202 | 1202 |
sub setup_ap_transactions_action_bar { |
1203 | 1203 |
my %params = @_; |
1204 |
my $may_edit_create = $::auth->assert('vendor_invoice_edit', 1);
|
|
1204 |
my $may_edit_create = $::auth->assert('ap_transactions', 1);
|
|
1205 | 1205 |
|
1206 | 1206 |
for my $bar ($::request->layout->get('actionbar')) { |
1207 | 1207 |
$bar->add( |
... | ... | |
1234 | 1234 |
my $is_storno = IS->is_storno(\%::myconfig, $::form, 'ap', $::form->{id}); |
1235 | 1235 |
my $has_storno = IS->has_storno(\%::myconfig, $::form, 'ap'); |
1236 | 1236 |
|
1237 |
my $may_edit_create = $::auth->assert('vendor_invoice_edit', 1);
|
|
1237 |
my $may_edit_create = $::auth->assert('ap_transactions', 1);
|
|
1238 | 1238 |
|
1239 | 1239 |
my $has_sepa_exports; |
1240 | 1240 |
if ($::form->{id}) { |
Auch abrufbar als: Unified diff
Falsches Recht für Kreditorenbeleg überprüft