mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-16 17:33:45 +00:00
Remove reference to temp_amount
This commit is contained in:
@@ -128,8 +128,6 @@ class TransactionJournalFactory
|
|||||||
// invalidate cache.
|
// invalidate cache.
|
||||||
app('preferences')->mark();
|
app('preferences')->mark();
|
||||||
|
|
||||||
$journal->temp_amount = $totalAmount;
|
|
||||||
|
|
||||||
return $journal;
|
return $journal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -469,7 +469,7 @@ class ImportArrayStorage
|
|||||||
continue;
|
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));
|
Log::debug(sprintf('Stored as journal #%d', $journal->id));
|
||||||
$collection->push($journal);
|
$collection->push($journal);
|
||||||
|
|
||||||
|
@@ -60,9 +60,6 @@ class JournalUpdateService
|
|||||||
*/
|
*/
|
||||||
public function update(TransactionJournal $journal, array $data): TransactionJournal
|
public function update(TransactionJournal $journal, array $data): TransactionJournal
|
||||||
{
|
{
|
||||||
// just in case.
|
|
||||||
unset($journal->temp_amount);
|
|
||||||
|
|
||||||
// update journal:
|
// update journal:
|
||||||
$journal->description = $data['description'];
|
$journal->description = $data['description'];
|
||||||
$journal->date = $data['date'];
|
$journal->date = $data['date'];
|
||||||
|
Reference in New Issue
Block a user