]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/do.pl
Banktransaction: Kontoauszug verbuchen: Sonderfall für "credit_notes"
[mfinanz.git] / bin / mozilla / do.pl
index 1e5c5a20339b5ae43a6e4a362a8728812a16d4ee..6c122219559a5ce64b24508af0580857f64d1881 100644 (file)
@@ -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),