Revision 4d59fd5d
Von Moritz Bunkus vor mehr als 13 Jahren hinzugefügt
bin/mozilla/ap.pl | ||
---|---|---|
1196 | 1196 |
sub search { |
1197 | 1197 |
$main::lxdebug->enter_sub(); |
1198 | 1198 |
|
1199 |
$main::auth->assert('general_ledger | invoice_edit'); |
|
1199 |
$main::auth->assert('general_ledger | vendor_invoice_edit');
|
|
1200 | 1200 |
|
1201 | 1201 |
my $form = $main::form; |
1202 | 1202 |
my %myconfig = %main::myconfig; |
bin/mozilla/ir.pl | ||
---|---|---|
256 | 256 |
my $locale = $main::locale; |
257 | 257 |
my $cgi = $main::cgi; |
258 | 258 |
|
259 |
$main::auth->assert('invoice_edit'); |
|
259 |
$main::auth->assert('vendor_invoice_edit');
|
|
260 | 260 |
|
261 | 261 |
my %TMPL_VAR = (); |
262 | 262 |
my @custom_hiddens; |
... | ... | |
354 | 354 |
my %myconfig = %main::myconfig; |
355 | 355 |
my $locale = $main::locale; |
356 | 356 |
|
357 |
$main::auth->assert('invoice_edit'); |
|
357 |
$main::auth->assert('vendor_invoice_edit');
|
|
358 | 358 |
|
359 | 359 |
$form->{invtotal} = $form->{invsubtotal}; |
360 | 360 |
$form->{oldinvtotal} = $form->{invtotal}; |
Auch abrufbar als: Unified diff
Einkaufsrechnungen: Prüfung auf falschen Rechtenamen gefixt
Rechtename für Einkaufsrechnungen ist "vendor_invoice_edit", nicht
"invoice_edit". Fix für Bug 1631.