mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
This commit is contained in:
parent
9506b37200
commit
bf5a15077d
@ -44,6 +44,9 @@ class BillDateCalculator
|
||||
*/
|
||||
public function getPayDates(Carbon $earliest, Carbon $latest, Carbon $billStart, string $period, int $skip, ?Carbon $lastPaid): array
|
||||
{
|
||||
$earliest->startOfDay();
|
||||
$latest->endOfDay();
|
||||
$billStart->startOfDay();
|
||||
Log::debug('Now in BillDateCalculator::getPayDates()');
|
||||
Log::debug(sprintf('Dates must be between %s and %s.', $earliest->format('Y-m-d'), $latest->format('Y-m-d')));
|
||||
Log::debug(sprintf('Bill started on %s, period is "%s", skip is %d, last paid = "%s".', $billStart->format('Y-m-d'), $period, $skip, $lastPaid?->format('Y-m-d')));
|
||||
|
Loading…
Reference in New Issue
Block a user