customer wurde nicht mehr richtig gesetzt was bugs bie der anzeige erzeugt hat.
$form->{employee} = "$form->{employee}--$form->{employee_id}";
# build vendor/customer drop down comatibility... don't ask
- $form->{"old$form->{vc}"} = $form->{vc};
- $form->{"select$form->{vc}"} = 1;
+ $form->{"old$form->{vc}"} = $form->{vc};
+ if (@{ $form->{"all_$form->{vc}"} }) {
+ $form->{"select$form->{vc}"} = 1;
+ $form->{$form->{vc}} = qq|$form->{$form->{vc}}--$form->{"$form->{vc}_id"}|;
+ }
$lxdebug->leave_sub();
}