Revision 21243e6b
Von Thomas Heck vor etwa 11 Jahren hinzugefügt
SL/Controller/CustomerVendor.pm | ||
---|---|---|
394 | 394 |
sub action_get_delivery { |
395 | 395 |
my ($self) = @_; |
396 | 396 |
|
397 |
$::auth->assert('sales_all_edit'); |
|
398 |
|
|
397 | 399 |
my $dbh = $::form->get_standard_dbh(); |
398 | 400 |
|
399 | 401 |
my ($arap, $db, $qty_sign); |
templates/webpages/customer_vendor/form.html | ||
---|---|---|
18 | 18 |
<li><a href="#billing">[% 'Billing Address' | $T8 %]</a></li> |
19 | 19 |
<li><a href="#shipto">[% 'Shipping Address' | $T8 %]</a></li> |
20 | 20 |
<li><a href="#contacts">[% 'Contacts' | $T8 %]</a></li> |
21 |
[% IF ( SELF.cv.id ) %] |
|
21 |
[% IF ( SELF.cv.id && AUTH.assert('sales_all_edit', 1) ) %]
|
|
22 | 22 |
<li><a href="#deliveries">[% 'Supplies' | $T8 %]</a></li> |
23 | 23 |
[% END %] |
24 | 24 |
<li><a href="#vcnotes">[% 'Notes' | $T8 %]</a></li> |
... | ... | |
31 | 31 |
[% PROCESS "customer_vendor/tabs/billing.html" %] |
32 | 32 |
[% PROCESS "customer_vendor/tabs/shipto.html" %] |
33 | 33 |
[% PROCESS "customer_vendor/tabs/contacts.html" %] |
34 |
[% IF ( SELF.cv.id ) %] |
|
34 |
[% IF ( SELF.cv.id && AUTH.assert('sales_all_edit', 1) ) %]
|
|
35 | 35 |
[% PROCESS "customer_vendor/tabs/deliveries.html" %] |
36 | 36 |
[% END %] |
37 | 37 |
[% PROCESS "customer_vendor/tabs/vcnotes.html" %] |
Auch abrufbar als: Unified diff
Rechte unter Kunden&Lieferanten/Lieferungen beachten
fixt #2399