Och Philip...
authorMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 19 May 2009 09:14:21 +0000 (09:14 +0000)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 19 May 2009 09:14:21 +0000 (09:14 +0000)
bin/mozilla/oe.pl

index 43b360f..656abcb 100644 (file)
@@ -342,7 +342,7 @@ sub form_header {
   $credittext = $locale->text('Credit Limit exceeded!!!');
 
   my $follow_up_vc                =  $form->{ $form->{vc} eq 'customer' ? 'customer' : 'vendor' };
-  $follow_up_vc                   =~ s/--.*?//;
+  $follow_up_vc                   =~ s/--\d*\s*$//;
   $TMPL_VAR{follow_up_trans_info} =  ($form->{type} =~ /_quotation$/ ? $form->{quonumber} : $form->{ordnumber}) . " ($follow_up_vc)";
 
   if ($form->{id}) {