Skip to content
This repository has been archived by the owner on Apr 26, 2022. It is now read-only.

Commit

Permalink
close #346 Fixed: Backend send invoice mail broken
Browse files Browse the repository at this point in the history
  • Loading branch information
cuneytsenturk committed Jan 29, 2016
1 parent 98fae4f commit ef83572
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/controller/sale/invoice.php
Expand Up @@ -810,7 +810,7 @@ public function email()
$invoice_data['invoice_id'] = $invoice_info['invoice_id'];
$invoice_data['invoice_date'] = $invoice_info['invoice_date'];

$invoice_file = DIR_UPLOAD . $invoice_info['invoice_prefix'] . $invoice_info['invoice_no'] . '.pdf';
$invoice_file = DIR_UPLOAD . $invoice_data['invoice_prefix'] . $invoice_data['invoice_no'] . '.pdf';

$subject = $this->emailtemplate->getSubject('Invoice', 'invoice_1', $invoice_data);
$message = $this->emailtemplate->getMessage('Invoice', 'invoice_1', $invoice_data);
Expand Down

0 comments on commit ef83572

Please sign in to comment.