Revision 9d60642b
Von Moritz Bunkus vor mehr als 14 Jahren hinzugefügt
bin/mozilla/ct.pl | ||
---|---|---|
285 | 285 |
my %myconfig = %main::myconfig; |
286 | 286 |
my $locale = $main::locale; |
287 | 287 |
|
288 |
$form->get_lists(employees => "ALL_EMPLOYEES", |
|
289 |
taxzones => "ALL_TAXZONES", |
|
290 |
business_types => { key => 'ALL_SALESMAN_BUSINESSES', salesman => 1 }); |
|
288 |
$form->get_lists(employees => "ALL_EMPLOYEES", |
|
289 |
taxzones => "ALL_TAXZONES"); |
|
291 | 290 |
$form->get_pricegroup(\%myconfig, { all => 1 }); |
292 | 291 |
|
292 |
$form->get_lists(customers => { key => "ALL_SALESMAN_CUSTOMERS", business_is_salesman => 1 }) if $::vertreter; |
|
293 |
|
|
293 | 294 |
$form->{ALL_SALESMEN} = $form->{ALL_EMPLOYEES}; |
294 | 295 |
$form->{taxincluded} = ($form->{taxincluded}) ? "checked" : ""; |
295 | 296 |
$form->{is_admin} = $myconfig{role} eq 'admin'; |
Auch abrufbar als: Unified diff
"Vertreter" sind Kunden mit Kundentyp mit Vertreter-Flag, nicht die Kundentypen selber