From: ivan Date: Fri, 17 Apr 2009 07:21:34 +0000 (+0000) Subject: add invoice number to PDF filename in email attachments, RT#3403 X-Git-Tag: freeside_1_7_4rc1~64 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=9e6173d064bbe45863944d8c94febbb27ea4054a;p=freeside.git add invoice number to PDF filename in email attachments, RT#3403 --- diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm index 0dbe1b906..472dc7318 100644 --- a/FS/FS/cust_bill.pm +++ b/FS/FS/cust_bill.pm @@ -733,7 +733,7 @@ sub mimebuild_pdf { 'Encoding' => 'base64', 'Data' => [ $self->print_pdf(@_) ], 'Disposition' => 'attachment', - 'Filename' => 'invoice.pdf', + 'Filename' => 'invoice-'. $self->invnum. '.pdf', ); }