From 9ed0984c213f2438533dfc08e25943ac2b0a64eb Mon Sep 17 00:00:00 2001 From: FrancescoUK Date: Fri, 16 Feb 2018 22:13:56 +0000 Subject: [PATCH] Fix indentation issue --- application/controllers/Reports.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/application/controllers/Reports.php b/application/controllers/Reports.php index 1176019e8..546a84634 100644 --- a/application/controllers/Reports.php +++ b/application/controllers/Reports.php @@ -785,13 +785,13 @@ class Reports extends Secure_Controller foreach($this->Customer->get_all()->result() as $customer) { if(isset($customer->company_name)) - { - $customers[$customer->person_id] = $this->xss_clean($customer->first_name . ' ' . $customer->last_name. ' ' . ' [ '.$customer->company_name.' ] '); - } + { + $customers[$customer->person_id] = $this->xss_clean($customer->first_name . ' ' . $customer->last_name. ' ' . ' [ '.$customer->company_name.' ] '); + } else - { - $customers[$customer->person_id] = $this->xss_clean($customer->first_name . ' ' . $customer->last_name); - } + { + $customers[$customer->person_id] = $this->xss_clean($customer->first_name . ' ' . $customer->last_name); + } } $data['specific_input_data'] = $customers; $data['sale_type_options'] = $this->get_sale_type_options();