Revision ab010352
Von Bernd Bleßmann vor fast 3 Jahren hinzugefügt
SL/OE.pm | ||
---|---|---|
192 | 192 |
push(@values, (like($form->{"cp_name"}))x2); |
193 | 193 |
} |
194 | 194 |
|
195 |
if ( !(($vc eq 'customer' && $main::auth->assert('sales_all_edit', 1)) || ($vc eq 'vendor' && $main::auth->assert('purchase_all_edit', 1))) ) { |
|
195 |
if ( !( ($vc eq 'customer' && ($main::auth->assert('sales_all_edit', 1) || $main::auth->assert('sales_order_view', 1))) |
|
196 |
|| ($vc eq 'vendor' && ($main::auth->assert('purchase_all_edit', 1) || $main::auth->assert('purchase_order_view', 1))) ) ) { |
|
196 | 197 |
$query .= " AND o.employee_id = (select id from employee where login= ?)"; |
197 | 198 |
push @values, $::myconfig{login}; |
198 | 199 |
} |
Auch abrufbar als: Unified diff
Anbebots-/Auftragsbericht: Recht "Ansehen von Belegen" berücksichtigen