Import storage routine is creating the first transaction journals.

Signed-off-by: James Cole <thegrumpydictator@gmail.com>
This commit is contained in:
James Cole
2016-08-11 08:00:02 +02:00
parent 200366f5be
commit efe9933721
6 changed files with 181 additions and 15 deletions

View File

@@ -42,6 +42,7 @@ class CsvImporter implements ImporterInterface
// create CSV reader.
$reader = Reader::createFromString($content);
$reader->setDelimiter($config['delimiter']);
$start = $config['has-headers'] ? 1 : 0;
$results = $reader->fetch();
$collection = new Collection;