mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-18 10:16:49 +00:00
Move the start and end date for the fiscal date ranges to fiscal-start and fiscal-end respectively.
This commit is contained in:
@@ -183,8 +183,10 @@ class ReportHelper implements ReportHelperInterface
|
||||
|
||||
if (!isset($months[$year])) {
|
||||
$months[$year] = [
|
||||
'start' => $fiscalHelper->startOfFiscalYear($start)->format('Y-m-d'),
|
||||
'end' => $fiscalHelper->endOfFiscalYear($start)->format('Y-m-d'),
|
||||
'start-fiscal' => $fiscalHelper->startOfFiscalYear($start)->format('Y-m-d'),
|
||||
'end-fiscal' => $fiscalHelper->endOfFiscalYear($start)->format('Y-m-d'),
|
||||
'start' => Carbon::createFromDate($year, 1, 1)->format('Y-m-d'),
|
||||
'end' => Carbon::createFromDate($year, 12, 31)->format('Y-m-d'),
|
||||
'months' => [],
|
||||
];
|
||||
}
|
||||
|
Reference in New Issue
Block a user