From 1680f2b6028e44ac151c8a7085528083c02d410e Mon Sep 17 00:00:00 2001 From: FrancescoUK Date: Sat, 22 Apr 2017 10:28:05 +0100 Subject: [PATCH] Fix wrong code issue (#1247) --- application/controllers/Customers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/Customers.php b/application/controllers/Customers.php index 27d165010..d537cd9cb 100644 --- a/application/controllers/Customers.php +++ b/application/controllers/Customers.php @@ -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) {