Revision 5a9ae577
Von Bernd Bleßmann vor 3 Monaten hinzugefügt
bin/mozilla/ct.pl | ||
---|---|---|
83 | 83 |
|
84 | 84 |
$form->{IS_CUSTOMER} = $form->{db} eq 'customer'; |
85 | 85 |
|
86 |
$::auth->assert('customer_report_view') if $form->{IS_CUSTOMER}; |
|
87 |
$::auth->assert('vendor_report_view') if !$form->{IS_CUSTOMER}; |
|
88 |
|
|
86 | 89 |
$form->get_lists("business_types" => "ALL_BUSINESS_TYPES", |
87 | 90 |
"salesmen" => "ALL_SALESMEN"); |
88 | 91 |
$form->{ALL_PAYMENT_TERMS} = SL::DB::Manager::PaymentTerm->get_all_sorted; |
menus/user/00-erp.yaml | ||
---|---|---|
121 | 121 |
name: Customers |
122 | 122 |
icon: customer_report |
123 | 123 |
order: 100 |
124 |
access: customer_report_view |
|
124 | 125 |
params: |
125 | 126 |
action: CustomerVendor/search |
126 | 127 |
db: customer |
... | ... | |
129 | 130 |
name: Vendors |
130 | 131 |
icon: vendor_report |
131 | 132 |
order: 200 |
133 |
access: vendor_report_view |
|
132 | 134 |
params: |
133 | 135 |
action: CustomerVendor/search |
134 | 136 |
db: vendor |
Auch abrufbar als: Unified diff
Stammdaten->Berichte->Kunden- oder Lieferanten nur mit Recht aufrufen können