mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-14 00:04:24 +00:00
Small cleanup in CSV processor
This commit is contained in:
@@ -397,7 +397,7 @@ class ImportStorage
|
||||
$foreignCurrencyId = $this->getForeignCurrencyId($importJournal, $currency);
|
||||
$date = $importJournal->getDate($this->dateFormat);
|
||||
$transactionType = $this->getTransactionType($amount);
|
||||
$opposing = $this->getOpposingAccount($importJournal->opposing, $amount);
|
||||
$opposing = $this->getOpposingAccount($importJournal->opposing, $asset->id, $amount);
|
||||
|
||||
// if opposing is an asset account, it's a transfer:
|
||||
if ($opposing->accountType->type === AccountType::ASSET) {
|
||||
|
Reference in New Issue
Block a user