mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-18 12:28:46 +00:00
Finally implemented repeated expenses properly. [skip ci]
This commit is contained in:
@@ -241,12 +241,15 @@ class Date
|
||||
default:
|
||||
throw new FireflyException('Cannot do subtractPeriod for $repeat_freq ' . $repeatFreq);
|
||||
break;
|
||||
case 'day':
|
||||
case 'daily':
|
||||
$date->subDays($subtract);
|
||||
break;
|
||||
case 'week':
|
||||
case 'weekly':
|
||||
$date->subWeeks($subtract);
|
||||
break;
|
||||
case 'month':
|
||||
case 'monthly':
|
||||
$date->subMonths($subtract);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user