mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-11 17:39:41 +00:00
🤖 Auto commit for release 'develop' on 2025-11-09
This commit is contained in:
@@ -251,6 +251,7 @@ class CorrectsUnevenAmount extends Command
|
||||
|
||||
/** @var Transaction $source */
|
||||
$source = $journal->transactions()->where('amount', '<', 0)->first();
|
||||
|
||||
// safety catch on NULL should not be necessary, we just had that catch.
|
||||
// source amount = dest foreign amount
|
||||
// source currency = dest foreign currency
|
||||
|
||||
@@ -136,6 +136,7 @@ class UpgradesLiabilitiesEight extends Command
|
||||
if (null === $liabilityJournal) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return (bool) $openingJournal->date->isSameDay($liabilityJournal->date);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user