require_once 'File/Convert.php';
$fc = new File_Convert($img->getStoreName(), $img->mimetype );
$csv = $fc->convert('text/csv');
- $this->importCsv($csv);
+ $data = $this->importCsv($csv);
+ $this->jdata($data);
+
}
function importCsv($csv)
'itemsite_qty' => $r['QUANTITY']
);
}
-
- $this->jok($ret);
-
+ return $ret;
- exit;
}
}