Umstellung von print_form() in io.pl.
authorMoritz Bunkus <m.bunkus@linet-services.de>
Thu, 24 May 2007 07:37:30 +0000 (07:37 +0000)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Thu, 24 May 2007 07:37:30 +0000 (07:37 +0000)
bin/mozilla/dn.pl

index e8e242a..4be221f 100644 (file)
@@ -95,11 +95,12 @@ sub show_invoices {
     map { $row->{$_} = $form->format_amount(\%myconfig, $row->{$_} * 1, -2) } qw(amount fee interest);
   }
 
+  $form->{type}           = 'dunning';
   $form->{rowcount}       = scalar @{ $form->{DUNNINGS} };
   $form->{jsscript}       = 1;
   $form->{callback}     ||= build_std_url("action=show_invoices", qw(login password customer invnumber ordnumber groupinvoices minamount dunning_level notes));
 
-  $form->{PRINT_OPTIONS}  = print_options(1);
+  $form->{PRINT_OPTIONS}  = print_options({ 'inline' => 1 });
 
   $form->header();
   print $form->parse_html_template("dunning/show_invoices");