Fix indentation issue

This commit is contained in:
FrancescoUK authored and GitHub committed 2018-02-16 22:13:56 +00:00
1 parent cadae3eabc
commit 9ed0984c21
1 file changed
+6 -6
+6 -6
View File
@@ -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();