X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/8ca54430d6cbf130398a21fe5fb1a90696c92c9c..eabb0fd8c765a8d27c93a35f6092d2bc04348e8d:/SL/IS.pm diff --git a/SL/IS.pm b/SL/IS.pm index 55f92b1ec..1836a6bfa 100644 --- a/SL/IS.pm +++ b/SL/IS.pm @@ -942,24 +942,6 @@ sub post_invoice { $amount = $netamount + $tax; - # fill in subject if there is none - $form->{subject} = qq|$form->{label} $form->{invnumber}| - unless $form->{subject}; - - # if there is a message stuff it into the intnotes - my $cc = "Cc: $form->{cc}\\r\n" if $form->{cc}; - my $bcc = "Bcc: $form->{bcc}\\r\n" if $form->{bcc}; - my $now = scalar localtime; - $form->{intnotes} .= qq|\r -\r| if $form->{intnotes}; - - $form->{intnotes} .= qq|[email]\r -Date: $now -To: $form->{email}\r -$cc${bcc}Subject: $form->{subject}\r -\r -Message: $form->{message}\r| if $form->{message}; - # save AR record $query = qq|UPDATE ar set invnumber = ?,