Pman.Gnumeric.js
[Pman.Core] / ExcelToJson.php
index c655290..e981d32 100644 (file)
@@ -12,7 +12,7 @@ class Pman_Core_ExcelToJson extends Pman_Roo
         return parent::getAuth();
     }
     
-    function post()
+    function post($v)
     {
         $this->transObj = DB_DataObject::Factory('invhist_transfer');
         
@@ -30,8 +30,7 @@ class Pman_Core_ExcelToJson extends Pman_Roo
         require_once 'File/Convert.php';
         $fc = new File_Convert($img->getStoreName(), $img->mimetype );
          $csv = $fc->convert('text/csv');
-        print_r($fc); 
-        $ret = $this->importCsv($csv);
+         $ret = $this->importCsv($csv);