mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-01-23 08:48:08 -05:00
Merge pull request #1639 from RuleDomain/item-maint-fix
Fix item maintenance issue related to item kit permissions #1629
This commit is contained in:
@@ -369,8 +369,8 @@ class Items extends Secure_Controller
|
||||
'name' => $this->input->post('name'),
|
||||
'description' => $this->input->post('description'),
|
||||
'category' => $this->input->post('category'),
|
||||
'item_type' => $this->input->post('item_type'),
|
||||
'stock_type' => $this->input->post('stock_type'),
|
||||
'item_type' => $this->input->post('item_type') == NULL ? ITEM : $this->input->post('item_type'),
|
||||
'stock_type' => $this->input->post('stock_type') == NULL ? HAS_STOCK : $this->input->post('stock_type'),
|
||||
'supplier_id' => $this->input->post('supplier_id') == '' ? NULL : $this->input->post('supplier_id'),
|
||||
'item_number' => $this->input->post('item_number') == '' ? NULL : $this->input->post('item_number'),
|
||||
'cost_price' => parse_decimals($this->input->post('cost_price')),
|
||||
|
||||
Reference in New Issue
Block a user