Merge pull request #2429 from josh-tf/master

fix typo with lang string
This commit is contained in:
FrancescoUK
2019-04-22 08:41:29 +01:00
committed by GitHub

View File

@@ -464,7 +464,7 @@ class Sales extends Secure_Controller
$quantity = parse_decimals($this->input->post('quantity'));
$discount = parse_decimals($this->input->post('discount'));
$discount_type = $this->input->post('discount_type');
$item_location = $this->input->post('location');
$discounted_total = $this->input->post('discounted_total') != '' ? $this->input->post('discounted_total') : NULL;
@@ -793,7 +793,7 @@ class Sales extends Secure_Controller
{
$to = $sale_data['customer_email'];
$number = $sale_data[$type."_number"];
$subject = $this->lang->line("sales_$type") . ' ' . $number;
$subject = $this->lang->line("sales_" . $type) . ' ' . $number;
$text = $this->config->item('invoice_email_message');
$tokens = array(new Token_invoice_sequence($sale_data['invoice_number']),