Revision 2e19657a
Von Bernd Bleßmann vor fast 3 Jahren hinzugefügt
SL/DO.pm | ||
---|---|---|
134 | 134 |
push @where, "dord.$item = ?"; |
135 | 135 |
push @values, conv_i($form->{$item}); |
136 | 136 |
} |
137 |
if ( !(($vc eq 'customer' && $main::auth->assert('sales_all_edit', 1)) || ($vc eq 'vendor' && $main::auth->assert('purchase_all_edit', 1))) ) { |
|
137 |
if ( !( ($vc eq 'customer' && ($main::auth->assert('sales_all_edit', 1) || $main::auth->assert('sales_delivery_order_view', 1))) |
|
138 |
|| ($vc eq 'vendor' && ($main::auth->assert('purchase_all_edit', 1) || $main::auth->assert('purchase_delivery_order_view', 1))) ) ) { |
|
138 | 139 |
push @where, qq|dord.employee_id = (select id from employee where login= ?)|; |
139 | 140 |
push @values, $::myconfig{login}; |
140 | 141 |
} |
Auch abrufbar als: Unified diff
Recht: Ansehen von Lieferscheinen berücksichtigen (VK+EK/alter+neuer Controller)