Skip to content

Firefly III: a personal finances manager

More logs [skip ci]

James Cole97c0fb389d40
diff --git a/app/Repositories/Bill/BillRepository.php b/app/Repositories/Bill/BillRepository.php
index 99178d4fa7..3757160ece 100644
--- a/app/Repositories/Bill/BillRepository.php
+++ b/app/Repositories/Bill/BillRepository.php
@@ -298,7 +298,9 @@ class BillRepository implements BillRepositoryInterface
* If $nextExpectedMatch is after $end, we continue:
*/
if ($nextExpectedMatch > $end) {
- Log::debug(sprintf('nextExpectedMatch %s is after %s, so we skip this bill now.', $nextExpectedMatch, $end));
+ Log::debug(
+ sprintf('nextExpectedMatch %s is after %s, so we skip this bill now.', $nextExpectedMatch->format('Y-m-d'), $end->format('Y-m-d'))
+ );
break;
}
/*
@@ -319,6 +321,9 @@ class BillRepository implements BillRepositoryInterface
)
);
}
+ if ($count != 0) {
+ Log::info(sprintf('getBillsUnpaidInRange: Bill "%s" is paid (%d) so ignore it.', $bill->name, $count));
+ }
Log::debug(sprintf('Currentstart (%s) has become %s.', $currentStart->format('Y-m-d'), $nextExpectedMatch->format('Y-m-d')));
$currentStart = clone $nextExpectedMatch;