diff --git a/application/controllers/Items.php b/application/controllers/Items.php index 4f479c813..b29cfbfb8 100644 --- a/application/controllers/Items.php +++ b/application/controllers/Items.php @@ -476,7 +476,7 @@ class Items extends Secure_area implements iData_controller { $success_message = $this->lang->line('items_successful_' . ($new_item ? 'adding' : 'updating')) .' '. $item_data['name']; - echo json_encode(array('success'=>true,'message'=>$success_message,'item_id'=>$item_id)); + echo json_encode(array('success'=>true, 'message'=>$success_message, 'item_id'=>$item_id)); } else { @@ -484,16 +484,13 @@ class Items extends Secure_area implements iData_controller $this->lang->line('items_error_adding_updating') .' '. $item_data['name'] : $this->upload->display_errors(); - echo json_encode(array('success'=>false, - 'message'=>$error_message,'item_id'=>$item_id)); + echo json_encode(array('success'=>false, 'message'=>$error_message, 'item_id'=>$item_id)); } } else//failure { - echo json_encode(array('success'=>false, - 'message'=>$this->lang->line('items_error_adding_updating').' ' - .$item_data['name'],'item_id'=>-1)); + echo json_encode(array('success'=>false, 'message'=>$this->lang->line('items_error_adding_updating').' '.$item_data['name'], 'item_id'=>-1)); } } diff --git a/application/helpers/table_helper.php b/application/helpers/table_helper.php index 92e160873..23111f77f 100644 --- a/application/helpers/table_helper.php +++ b/application/helpers/table_helper.php @@ -50,7 +50,7 @@ function get_sales_manage_table_data_rows($sales, $controller) if($table_data_rows == '') { - $table_data_rows .= "
".$CI->lang->line('sales_no_sales_to_display')."
"; + $table_data_rows .= "
".$CI->lang->line('sales_no_sales_to_display')."
"; } else { @@ -157,7 +157,7 @@ function get_people_manage_table_data_rows($people,$controller) if($people->num_rows()==0) { - $table_data_rows.="
".$CI->lang->line('common_no_persons_to_display')."
"; + $table_data_rows.="
".$CI->lang->line('common_no_persons_to_display')."
"; } return $table_data_rows; @@ -241,7 +241,7 @@ function get_supplier_manage_table_data_rows($suppliers,$controller) if($suppliers->num_rows()==0) { - $table_data_rows.="
".$CI->lang->line('common_no_persons_to_display')."
"; + $table_data_rows.="
".$CI->lang->line('common_no_persons_to_display')."
"; } return $table_data_rows; @@ -317,7 +317,7 @@ function get_items_manage_table_data_rows($items,$controller) if($items->num_rows()==0) { - $table_data_rows.="
".$CI->lang->line('items_no_items_to_display')."
"; + $table_data_rows.="
".$CI->lang->line('items_no_items_to_display')."
"; } return $table_data_rows; @@ -411,7 +411,7 @@ function get_giftcards_manage_table_data_rows( $giftcards, $controller ) if($giftcards->num_rows()==0) { - $table_data_rows.="
".$CI->lang->line('giftcards_no_giftcards_to_display')."
"; + $table_data_rows.="
".$CI->lang->line('giftcards_no_giftcards_to_display')."
"; } return $table_data_rows; @@ -479,7 +479,7 @@ function get_item_kits_manage_table_data_rows($item_kits, $controller) if($item_kits->num_rows()==0) { - $table_data_rows .= "
".$CI->lang->line('item_kits_no_item_kits_to_display')."
"; + $table_data_rows .= "
".$CI->lang->line('item_kits_no_item_kits_to_display')."
"; } return $table_data_rows; diff --git a/application/views/configs/barcode_config.php b/application/views/configs/barcode_config.php index 4f6273186..cd803993f 100644 --- a/application/views/configs/barcode_config.php +++ b/application/views/configs/barcode_config.php @@ -1,7 +1,6 @@
lang->line('config_barcode_configuration'); ?>
-'barcode_config_form')); -?> + +'barcode_config_form')); ?>
lang->line('common_fields_required_message'); ?>
@@ -177,9 +176,7 @@ echo form_open('config/save_barcode/',array('id'=>'barcode_config_form')); ?>
- +
lang->line('module_config'); ?>
+