mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -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!
|
// render!
|
||||||
try {
|
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('start', $this->start)->with('end', $this->end)
|
||||||
->with('categories', $this->categories)
|
->with('categories', $this->categories)
|
||||||
->with('accounts', $this->accounts)
|
->with('accounts', $this->accounts)
|
||||||
|
@ -54,7 +54,7 @@ class MultiYearReportGenerator implements ReportGeneratorInterface
|
|||||||
$reportType = 'default';
|
$reportType = 'default';
|
||||||
|
|
||||||
try {
|
try {
|
||||||
return view(
|
return prefixView(
|
||||||
'reports.default.multi-year',
|
'reports.default.multi-year',
|
||||||
compact('accountIds', 'reportType')
|
compact('accountIds', 'reportType')
|
||||||
)->with('start', $this->start)->with('end', $this->end)->render();
|
)->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
|
## 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
|
## 5.5.0 (API 1.5.0) 2021-03-27
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user