mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Fix #245
This commit is contained in:
@@ -370,8 +370,7 @@ class BillRepository implements BillRepositoryInterface
|
|||||||
*/
|
*/
|
||||||
public function getRanges(Bill $bill, Carbon $start, Carbon $end): array
|
public function getRanges(Bill $bill, Carbon $start, Carbon $end): array
|
||||||
{
|
{
|
||||||
$startOfBill = $bill->date;
|
$startOfBill = Navigation::startOfPeriod($start, $bill->repeat_freq);
|
||||||
$startOfBill = Navigation::startOfPeriod($startOfBill, $bill->repeat_freq);
|
|
||||||
|
|
||||||
|
|
||||||
// all periods of this bill up until the current period:
|
// all periods of this bill up until the current period:
|
||||||
|
Reference in New Issue
Block a user