Fix wrong code issue (#1247)

This commit is contained in:
FrancescoUK
2017-04-22 10:28:05 +01:00
parent 80c58cf27d
commit 1680f2b602

View File

@@ -72,7 +72,7 @@ class Customers extends Persons
}
$data['person_info'] = $info;
$data['sales_tax_code_label'] = $info->sales_tax_code . ' ' . $this->Tax->get_info($info->sales_tax_code)->tax_code_name;
$data['total'] = $this->xss_clean($this->Customer->get_totals($customer_id)->total);
$data['total'] = $this->xss_clean($this->Customer->get_stats($customer_id)->total);
$packages = array('' => $this->lang->line('items_none'));
foreach($this->Customer_rewards->get_all()->result_array() as $row)
{