mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
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:
parent
94875adb6c
commit
a1cef5c339
@ -416,6 +416,7 @@ class ImportValidator
|
|||||||
Log::debug('Transaction type is now deposit.');
|
Log::debug('Transaction type is now deposit.');
|
||||||
|
|
||||||
return $entry;
|
return $entry;
|
||||||
|
case AccountType::DEFAULT:
|
||||||
case AccountType::ASSET:
|
case AccountType::ASSET:
|
||||||
$entry->fields['transaction-type'] = TransactionType::whereType(TransactionType::TRANSFER)->first();
|
$entry->fields['transaction-type'] = TransactionType::whereType(TransactionType::TRANSFER)->first();
|
||||||
Log::debug('Transaction type is now transfer.');
|
Log::debug('Transaction type is now transfer.');
|
||||||
|
Loading…
Reference in New Issue
Block a user