Fixed some issues for scrutiniser [skip ci]

This commit is contained in:
James Cole
2015-05-27 07:58:54 +02:00
parent e1cb9d387e
commit 7eba33e805
9 changed files with 8 additions and 8 deletions

View File

@@ -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;
}
}