Revision 9a578c8b
Von Jan Büren vor mehr als 11 Jahren hinzugefügt
bin/mozilla/ct.pl | ||
---|---|---|
174 | 174 |
my @columns = ( |
175 | 175 |
'id', 'name', "$form->{db}number", 'contact', 'phone', |
176 | 176 |
'fax', 'email', 'taxnumber', 'street', 'zipcode' , 'city', |
177 |
'business', 'invnumber', 'ordnumber', 'quonumber', 'salesman', 'country'
|
|
177 |
'business', 'invnumber', 'ordnumber', 'quonumber', 'salesman', 'country' |
|
178 | 178 |
); |
179 | 179 |
|
180 | 180 |
my @includeable_custom_variables = grep { $_->{includeable} } @{ $cvar_configs }; |
... | ... | |
465 | 465 |
currencies => "ALL_CURRENCIES"); |
466 | 466 |
$form->get_pricegroup(\%myconfig, { all => 1 }); |
467 | 467 |
|
468 |
$form->get_lists(customers => { key => "ALL_SALESMAN_CUSTOMERS", business_is_salesman => 1 }) if $::lx_office_conf{features}->{vertreter};
|
|
468 |
$form->get_lists(customers => { key => "ALL_SALESMAN_CUSTOMERS", business_is_salesman => 1 }) if $::instance_conf->get_vertreter;
|
|
469 | 469 |
$form->{ALL_EMPLOYEES} = SL::DB::Manager::Employee->get_all(query => [ or => [ id => $::form->{FU_created_for_user}, deleted => 0 ] ]); |
470 | 470 |
$form->{ALL_SALESMEN} = SL::DB::Manager::Employee->get_all(query => [ or => [ id => $::form->{salesman_id}, deleted => 0 ] ]); |
471 | 471 |
$form->{USER} = SL::DB::Manager::Employee->current; |
... | ... | |
536 | 536 |
|
537 | 537 |
$::form->isblank("name", $::locale->text("Name missing!")); |
538 | 538 |
|
539 |
if ($::form->{new_salesman_id} && $::lx_office_conf{features}->{vertreter}) {
|
|
539 |
if ($::form->{new_salesman_id} && $::instance_conf->get_vertreter) {
|
|
540 | 540 |
$::form->{salesman_id} = $::form->{new_salesman_id}; |
541 | 541 |
delete $::form->{new_salesman_id}; |
542 | 542 |
} |
Auch abrufbar als: Unified diff
Trac 2300 / 2301 zweiter Versuch
;-)