mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-03-16 14:07:36 -04:00
Remove obsolete item_unit method
This commit is contained in:
@@ -102,26 +102,6 @@ class Receivings extends Secure_area
|
||||
$this->_reload($data);
|
||||
}
|
||||
|
||||
function edit_item_unit($item_id)
|
||||
{
|
||||
$data= array();
|
||||
|
||||
$this->form_validation->set_rules('quantity', 'lang:items_quantity', 'required|integer');
|
||||
$quantity = $this->input->post("quantity");
|
||||
|
||||
|
||||
if ($this->form_validation->run() != FALSE)
|
||||
{
|
||||
$this->receiving_lib->edit_item_unit($item_id,$description,$quantity,0,0);
|
||||
}
|
||||
else
|
||||
{
|
||||
$data['error']=$this->lang->line('recvs_error_editing_item');
|
||||
}
|
||||
|
||||
$this->_reload($data);
|
||||
}
|
||||
|
||||
function delete_item($item_number)
|
||||
{
|
||||
$this->receiving_lib->delete_item($item_number);
|
||||
|
||||
Reference in New Issue
Block a user