mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Should fix some scrutinyizer problems.
This commit is contained in:
@@ -295,24 +295,17 @@ class Importer
|
||||
$this->saveTags($journal);
|
||||
|
||||
// some debug info:
|
||||
$id = $journal->id;
|
||||
$type = $journal->transactionType->type;
|
||||
$journalId = $journal->id;
|
||||
$type = $journal->transactionType->type;
|
||||
/** @var Account $asset */
|
||||
$asset = $this->importData['asset-account-object'];
|
||||
/** @var Account $opposing */
|
||||
$opposing = $this->importData['opposing-account-object'];
|
||||
|
||||
Log::info('Created journal #' . $id . ' of type ' . $type . '!');
|
||||
Log::info('Created journal #' . $journalId . ' of type ' . $type . '!');
|
||||
Log::info('Asset account ' . $asset->name . ' (#' . $asset->id . ') lost/gained: ' . $this->importData['amount']);
|
||||
Log::info($opposing->accountType->type . ' ' . $opposing->name . ' (#' . $opposing->id . ') lost/gained: ' . bcmul($this->importData['amount'], -1));
|
||||
|
||||
//.
|
||||
//' [' . $asset->name . ' (#' .$asset->id . ')] <--> ' .
|
||||
//' [' . $this->importData['opposing-account-object']->name . ' (' . $this->importData['opposing-account-object']->accountType->type . ') (#'
|
||||
//. $this->importData['opposing-account-object']->id . ')]'
|
||||
// );
|
||||
//
|
||||
|
||||
return $journal;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user