This fixes most of the tests.

This commit is contained in:
James Cole
2016-03-02 13:37:28 +01:00
parent 3ef84dc1fc
commit 500243b0b3
6 changed files with 67 additions and 19 deletions

View File

@@ -187,7 +187,7 @@ class Importer
// some debug info:
$journalId = $journal->id;
$type = $journal->getTransactionType();
$type = $journal->transaction_type_type ?? $journal->transactionType->type;
/** @var Account $asset */
$asset = $this->importData['asset-account-object'];
/** @var Account $opposing */