]> wagnertech.de Git - mfinanz.git/blobdiff - SL/Controller/SellPriceInformation.pm
Revert "tax_id in acc_trans"
[mfinanz.git] / SL / Controller / SellPriceInformation.pm
index d82f6670775fd7efc4bef652265e0ff5d3e62356..bf85c86346183b8d0c52b02fd514285237a7fc1d 100644 (file)
@@ -68,7 +68,7 @@ sub column_defs {
     transdate   => { text => $::locale->text('Date'),
                       sub => sub { $_[0]->order->transdate_as_date }},
     ordnumber   => { text => $::locale->text('Number'),
-                      sub => sub { $_[0]->order->ordnumber },
+                      sub => sub { $_[0]->order->number },
                  obj_link => sub { $self->link_to($_[0]->order) }},
     customer    => { text => $::locale->text('Customer'),
                       sub => sub { $_[0]->order->customer->name },
@@ -149,7 +149,7 @@ sub list_objects {
     });
   }
 
-  return $self->{report}->generate_with_headers;
+  return $self->{report}->generate_with_headers(no_layout => 1);
 }
 
 sub link_to {