mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-10 01:51:02 -04:00
Update Items.php
Fixes the problem where 'Supplier ID' is not saved during csv import.
This commit is contained in:
@@ -886,7 +886,7 @@ class Items extends Secure_Controller
|
||||
'hsn_code' => $row['HSN'],
|
||||
'pic_filename' => $row['Image']);
|
||||
|
||||
if(!empty($row['supplier_id']))
|
||||
if(!empty($row['Supplier ID']))
|
||||
{
|
||||
$item_data['supplier_id'] = $this->Supplier->exists($row['Supplier ID']) ? $row['Supplier ID'] : NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user