]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/is.pl
Bugfix für Bug 1127. webpages/ct/get_delivery_master ist nicht customer/vendor sicher...
[mfinanz.git] / bin / mozilla / is.pl
index d2f27c92594d9ff42aef76c37ed41543ccdad028..9bc225e884bb596231ed4b64ad7441710820be02 100644 (file)
@@ -565,7 +565,7 @@ sub form_header {
   $credittext = $locale->text('Credit Limit exceeded!!!');
 
   my $follow_up_vc         =  $form->{customer};
-  $follow_up_vc            =~ s/--.*?//;
+  $follow_up_vc            =~ s/--\d*\s*$//;
   my $follow_up_trans_info =  "$form->{invnumber} ($follow_up_vc)";
 
   $onload = ($form->{resubmit} && ($form->{format} eq "html")) ? qq|window.open('about:blank','Beleg'); document.invoice.target = 'Beleg';document.invoice.submit()|