Enable pdf and email sending in Order/save
This commit is contained in:
@@ -33,7 +33,7 @@ class Emailnotification {
|
||||
];
|
||||
|
||||
$attachment["isfile"] = false;
|
||||
if($filename) {
|
||||
if($file) {
|
||||
$attachment['isfile'] = true;
|
||||
}
|
||||
|
||||
@@ -95,7 +95,7 @@ class Emailnotification {
|
||||
$mime = new Mail_mime();
|
||||
$mime->setTXTBody($this->body);
|
||||
|
||||
var_dump($att);exit;
|
||||
//var_dump($this->attachments);exit;
|
||||
|
||||
if(count($this->attachments)) {
|
||||
foreach($this->attachments as $att) {
|
||||
|
||||
Reference in New Issue
Block a user