mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Remove reference to temp_amount
This commit is contained in:
parent
d78e11170b
commit
d1c7a9767a
@ -128,8 +128,6 @@ class TransactionJournalFactory
|
||||
// invalidate cache.
|
||||
app('preferences')->mark();
|
||||
|
||||
$journal->temp_amount = $totalAmount;
|
||||
|
||||
return $journal;
|
||||
}
|
||||
|
||||
|
@ -469,7 +469,7 @@ class ImportArrayStorage
|
||||
continue;
|
||||
}
|
||||
|
||||
Log::info(sprintf('Stored #%d: "%s" %s (ID #%d)', $index, $journal->description, round($journal->temp_amount, 2), $journal->id));
|
||||
Log::info(sprintf('Stored #%d: "%s" (ID #%d)', $index, $journal->description, $journal->id));
|
||||
Log::debug(sprintf('Stored as journal #%d', $journal->id));
|
||||
$collection->push($journal);
|
||||
|
||||
|
@ -60,9 +60,6 @@ class JournalUpdateService
|
||||
*/
|
||||
public function update(TransactionJournal $journal, array $data): TransactionJournal
|
||||
{
|
||||
// just in case.
|
||||
unset($journal->temp_amount);
|
||||
|
||||
// update journal:
|
||||
$journal->description = $data['description'];
|
||||
$journal->date = $data['date'];
|
||||
|
Loading…
Reference in New Issue
Block a user