This commit is contained in:
James Cole committed 2016-04-18 19:33:02 +02:00
1 parent 3fa659632c
commit 87b72e4bcd
1 file changed
+1 -2
+1 -2
View File
@@ -370,8 +370,7 @@ class BillRepository implements BillRepositoryInterface
*/
public function getRanges(Bill $bill, Carbon $start, Carbon $end): array
{
$startOfBill = $bill->date;
$startOfBill = Navigation::startOfPeriod($startOfBill, $bill->repeat_freq);
$startOfBill = Navigation::startOfPeriod($start, $bill->repeat_freq);
// all periods of this bill up until the current period: