Found a bug in the import routine where "default accounts" (an account type no longer used by default) is found.

This commit is contained in:
James Cole
2016-11-20 11:44:27 +01:00
parent 94875adb6c
commit a1cef5c339

View File

@@ -416,6 +416,7 @@ class ImportValidator
Log::debug('Transaction type is now deposit.');
return $entry;
case AccountType::DEFAULT:
case AccountType::ASSET:
$entry->fields['transaction-type'] = TransactionType::whereType(TransactionType::TRANSFER)->first();
Log::debug('Transaction type is now transfer.');