Changeset 697 for trunk/phpbms/modules/bms/report/invoices_pdf_class.php
- Timestamp:
- 12/31/09 16:25:28 (2 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpbms/modules/bms/report/invoices_pdf_class.php
r696 r697 789 789 $to = $this->invoicerecord["email"]; 790 790 $from = $userinfo["email"]; 791 $subject = "Your ".$this-> title." from ".COMPANY_NAME;792 $message = "Attached is your ".$this-> title." from ".COMPANY_NAME."\n\n" .791 $subject = "Your ".$this->settings["reportTitle"]." from ".COMPANY_NAME; 792 $message = "Attached is your ".$this->settings["reportTitle"]." from ".COMPANY_NAME."\n\n" . 793 793 "The attachment requires Adobe Acrobat Reader to view. \n If you do not " . 794 794 "have Acrobat Reader, you can download it at http://www.adobe.com \n\n" . … … 815 815 $message .= "--{$mime_boundary}\n" . 816 816 "Content-Type: {application/pdf};\n" . 817 " name=\"".$this-> title.$this->invoicerecord["id"].".pdf\"\n" .817 " name=\"".$this->settings["reportTitle"].$this->invoicerecord["id"].".pdf\"\n" . 818 818 "Content-Disposition: attachment;\n" . 819 " filename=\"".$this-> title.$this->invoicerecord["id"].".pdf\"\n" .819 " filename=\"".$this->settings["reportTitle"].$this->invoicerecord["id"].".pdf\"\n" . 820 820 "Content-Transfer-Encoding: base64\n\n" . 821 821 $pdf . "\n\n" .