Bugfix: 698, Titel bei Erzeugnisreports.
authorSven Schöling <s.schoeling@linet-services.de>
Wed, 9 Apr 2008 17:43:31 +0000 (17:43 +0000)
committerSven Schöling <s.schoeling@linet-services.de>
Wed, 9 Apr 2008 17:43:31 +0000 (17:43 +0000)
bin/mozilla/ic.pl

index dde593f..bd02fa7 100644 (file)
@@ -388,7 +388,7 @@ sub addtop100 {
 
   $form->{top100}      = "top100";
   $form->{l_soldtotal} = "Y";
-#  $form->{soldtotal}   = "soldtotal";
+  $form->{soldtotal}   = "soldtotal";
   $form->{sort}        = "soldtotal";
   $form->{l_qty}       = "N";
   $form->{l_linetotal} = "";
@@ -985,6 +985,7 @@ sub generate_report {
   my ($revers, $lastsort, $description);
 
   $form->{title} = (ucfirst $form->{searchitems}) . "s";
+  $form->{title} =~ s/ys$/ies/;
   $form->{title} = $locale->text($form->{title});
 
   my $revers     = $form->{revers};