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) {