mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-25 08:21:08 -06:00
Call to bad function breaks several reports, fix #4547
This commit is contained in:
parent
3586c76b95
commit
a243f3d7c2
@ -76,7 +76,7 @@ class MonthReportGenerator implements ReportGeneratorInterface
|
||||
|
||||
// render!
|
||||
try {
|
||||
return view('reports.category.month', compact('accountIds', 'categoryIds', 'reportType',))
|
||||
return prefixView('reports.category.month', compact('accountIds', 'categoryIds', 'reportType',))
|
||||
->with('start', $this->start)->with('end', $this->end)
|
||||
->with('categories', $this->categories)
|
||||
->with('accounts', $this->accounts)
|
||||
|
@ -54,7 +54,7 @@ class MultiYearReportGenerator implements ReportGeneratorInterface
|
||||
$reportType = 'default';
|
||||
|
||||
try {
|
||||
return view(
|
||||
return prefixView(
|
||||
'reports.default.multi-year',
|
||||
compact('accountIds', 'reportType')
|
||||
)->with('start', $this->start)->with('end', $this->end)->render();
|
||||
|
21
changelog.md
21
changelog.md
@ -4,7 +4,26 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
## Unreleased
|
||||
|
||||
- No unreleased changes.
|
||||
### Added
|
||||
- Initial release.
|
||||
|
||||
### Changed
|
||||
- Initial release.
|
||||
|
||||
### Deprecated
|
||||
- Initial release.
|
||||
|
||||
### Removed
|
||||
- Initial release.
|
||||
|
||||
### Fixed
|
||||
- #4547 Call to bad function breaks several reports
|
||||
|
||||
### Security
|
||||
- Initial release.
|
||||
|
||||
### API
|
||||
- Initial release
|
||||
|
||||
## 5.5.0 (API 1.5.0) 2021-03-27
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user