X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/54ce51443886623bb785e7c54492ecbc8dc9b3aa..af131a46:/bin/mozilla/do.pl diff --git a/bin/mozilla/do.pl b/bin/mozilla/do.pl index 1e5c5a203..6c1222195 100644 --- a/bin/mozilla/do.pl +++ b/bin/mozilla/do.pl @@ -643,13 +643,6 @@ sub orders { push @options, $locale->text('Not delivered'); } - # all_vc ruft get_employee auf, dort wird emloyee überschrieben, deshalb retten: - my $save_employee_id = $form->{'employee_id'}; - my $save_employee = $form->{'employee'}; - $form->all_vc(\%myconfig, $form->{vc}, ($form->{vc} eq 'customer') ? "AR" : "AP"); - $form->{'employee_id'} = $save_employee_id; - $form->{'employee'} = $save_employee; - my $pr = SL::DB::Manager::Printer->find_by( printer_description => $::locale->text("sales_delivery_order_printer")); if ($pr ) { @@ -658,10 +651,7 @@ sub orders { $report->set_options('top_info_text' => join("\n", @options), 'raw_top_info_text' => $form->parse_html_template('do/orders_top'), - 'raw_bottom_info_text' => $form->parse_html_template('do/orders_bottom', - { - print_options => print_options(inline => 1,hide_language_id => 1), - }), + 'raw_bottom_info_text' => $form->parse_html_template('do/orders_bottom', { print_options => print_options(inline => 1,hide_language_id => 1) }), 'output_format' => 'HTML', 'title' => $form->{title}, 'attachment_basename' => $attachment_basename . strftime('_%Y%m%d', localtime time),