mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-05-24 16:28:40 -04:00
Fix decimal parsing, add php5-intl locale support (#458)
This commit is contained in:
@@ -322,8 +322,8 @@ class Items extends Secure_Controller
|
||||
'category' => $this->input->post('category'),
|
||||
'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' => $this->input->post('cost_price'),
|
||||
'unit_price' => $this->input->post('unit_price'),
|
||||
'cost_price' => parse_decimals($this->input->post('cost_price')),
|
||||
'unit_price' => parse_decimals($this->input->post('unit_price')),
|
||||
'reorder_level' => $this->input->post('reorder_level'),
|
||||
'receiving_quantity' => $this->input->post('receiving_quantity'),
|
||||
'allow_alt_description' => $this->input->post('allow_alt_description') != NULL,
|
||||
|
||||
Reference in New Issue
Block a user