mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
This commit is contained in:
@@ -356,7 +356,7 @@ class BillTransformer extends AbstractTransformer
|
||||
$steps = app('navigation')->diffInPeriods($bill->repeat_freq, $bill->skip, $start, $date);
|
||||
$result = clone $start;
|
||||
if ($steps > 0) {
|
||||
$steps = $steps - 1;
|
||||
$steps -= 1;
|
||||
app('log')->debug(sprintf('Steps is %d, because addPeriod already adds 1.', $steps));
|
||||
$result = app('navigation')->addPeriod($start, $bill->repeat_freq, $steps);
|
||||
}
|
||||
|
Reference in New Issue
Block a user