Skip to content

Commit

Permalink
Fix blank subject line on batch invoice emails
Browse files Browse the repository at this point in the history
  • Loading branch information
steveblamey committed Dec 16, 2021
1 parent f94a4d6 commit 6f2ca7b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1267,7 +1267,7 @@ public function printInvoice($status = 'generate')
// This sets the email subject for batch output.
// No dialog was shown to the user so the subject
// is not available in the controller's data.
$this->_data['print']['email_subject'] = 'Sales Invoice, No: ' . $invoice_number . (is_null($invoice->ext_reference) ? '' : ' Your Ref: ' . $invoice->ext_reference);
$options['email_subject'] = 'Sales Invoice, No: ' . $invoice_number . (is_null($invoice->ext_reference) ? '' : ' Your Ref: ' . $invoice->ext_reference);
}

$options['report'] = $invoice_layout;
Expand Down

0 comments on commit 6f2ca7b

Please sign in to comment.