Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Import transfer error
James Cole26740668da3c
diff --git a/app/Import/Storage/ImportSupport.php b/app/Import/Storage/ImportSupport.phpindex adb49c5d89..a18fdfaafd 100644--- a/app/Import/Storage/ImportSupport.php+++ b/app/Import/Storage/ImportSupport.php@@ -226,7 +226,7 @@ trait ImportSupport// if opposing is an asset account, it's a transfer:if ($account->accountType->type === AccountType::ASSET) {Log::debug(sprintf('Opposing account #%d %s is an asset account, make transfer.', $account->id, $account->name));- $transactionType = TransactionType::whereType(TransactionType::TRANSFER)->first();+ $transactionType = TransactionType::TRANSFER;}// verify that opposing account is of the correct type: