More indentation corrections

This commit is contained in:
objecttothis
2020-03-24 14:13:08 +04:00
parent 3281fc9bb0
commit 8a0c88b11c
2 changed files with 6 additions and 6 deletions

View File

@@ -7,14 +7,14 @@ class Items extends Secure_Controller
public function __construct()
{
parent::__construct('items');
$this->load->library('item_lib');
}
public function index()
{
$this->session->set_userdata('allow_temp_items', 0);
$data['table_headers'] = $this->xss_clean(get_items_manage_table_headers());
$data['stock_location'] = $this->xss_clean($this->item_lib->get_item_location());
$data['stock_locations'] = $this->xss_clean($this->Stock_location->get_allowed_locations());
@@ -452,7 +452,7 @@ class Items extends Secure_Controller
$this->load->view('attributes/item', $data);
}
public function bulk_edit()
{
$suppliers = array('' => $this->lang->line('items_none'));

View File

@@ -217,7 +217,7 @@ class Attribute extends CI_Model
return $definition_name + $this->_to_array($results, 'definition_id', 'definition_name');
}
public function get_definition_values($definition_id)
{
$attribute_values = [];
@@ -549,7 +549,7 @@ class Attribute extends CI_Model
return $this->db->get()->row_object();
}
public function copy_attribute_links($item_id, $sale_receiving_fk, $id)
{
$this->db->query(
@@ -657,7 +657,7 @@ class Attribute extends CI_Model
return $this->db->update('attribute_definitions', array('deleted' => 1));
}
public function delete_definition_list($definition_ids)
{
$this->db->where_in('definition_id', $definition_ids);