mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-26 10:03:11 -04:00
More indentation corrections
This commit is contained in:
@@ -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'));
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user