mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-04 23:24:16 -04:00
Fixed csv import when updating items that have a barcode
This commit is contained in:
@@ -1103,7 +1103,7 @@ class Items extends Secure_Controller
|
||||
$item_data['is_serialized'] = empty($row['Item has Serial Number'])? '0' : '1';
|
||||
}
|
||||
|
||||
if(!empty($row['Barcode']))
|
||||
if(!empty($row['Barcode']) && !$is_update)
|
||||
{
|
||||
$item_data['item_number'] = $row['Barcode'];
|
||||
$is_failed_row = $this->item->item_number_exists($item_data['item_number']);
|
||||
|
||||
Reference in New Issue
Block a user