mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-22 03:53:37 +00:00
Fixed some issues for scrutiniser [skip ci]
This commit is contained in:
@@ -241,7 +241,7 @@ class BillRepository implements BillRepositoryInterface
|
||||
$end = Navigation::endOfPeriod(clone $start, $bill->repeat_freq);
|
||||
$journalCount = $bill->transactionjournals()->before($end)->after($start)->count();
|
||||
if ($journalCount == 0) {
|
||||
$finalDate = clone $start;
|
||||
$finalDate = new Carbon($start->format('Y-m-d'));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@@ -323,7 +323,7 @@ class TagRepository implements TagRepositoryInterface
|
||||
$match = true;
|
||||
/** @var TransactionJournal $check */
|
||||
foreach ($tag->transactionjournals as $check) {
|
||||
if ($check->assetAccount->id != $journal->assetAccount->id) {
|
||||
if ($check->asset_account->id != $journal->asset_account->id) {
|
||||
$match = false;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user