From 3e51d644757efe3ffa7eff41e50adfcb4b5e62e7 Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 17 Apr 2009 07:21:32 +0000 Subject: [PATCH] add invoice number to PDF filename in email attachments, RT#3403 --- FS/FS/cust_bill.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm index 071b89cd0..29b52ceac 100644 --- a/FS/FS/cust_bill.pm +++ b/FS/FS/cust_bill.pm @@ -796,7 +796,7 @@ sub mimebuild_pdf { 'Encoding' => 'base64', 'Data' => [ $self->print_pdf(@_) ], 'Disposition' => 'attachment', - 'Filename' => 'invoice.pdf', + 'Filename' => 'invoice-'. $self->invnum. '.pdf', ); } -- 2.11.0