mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-25 21:16:47 +00:00
Extend report capability for issue #396 and related report issues.
This commit is contained in:
@@ -307,7 +307,21 @@ Route::group(
|
||||
* Report Controller
|
||||
*/
|
||||
Route::get('/reports', ['uses' => 'ReportController@index', 'as' => 'reports.index']);
|
||||
Route::get('/reports/report/{reportType}/{start_date}/{end_date}/{accountList}', ['uses' => 'ReportController@report', 'as' => 'reports.report']);
|
||||
Route::post('/reports', ['uses' => 'ReportController@postIndex', 'as' => 'reports.index.post']);
|
||||
|
||||
// default report:
|
||||
Route::get('/reports/default/{start_date}/{end_date}/{accountList}', ['uses' => 'ReportController@defaultReport', 'as' => 'reports.report.default']);
|
||||
|
||||
// audit report:
|
||||
Route::get('/reports/audit/{start_date}/{end_date}/{accountList}', ['uses' => 'ReportController@auditReport', 'as' => 'reports.report.audit']);
|
||||
|
||||
// category report:
|
||||
Route::get(
|
||||
'/reports/category/{start_date}/{end_date}/{accountList}/{categoryList}',
|
||||
['uses' => 'ReportController@categoryReport', 'as' => 'reports.report.category']
|
||||
);
|
||||
|
||||
|
||||
Route::get('/reports/options/{reportType}', ['uses' => 'ReportController@options', 'as' => 'reports.options']);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user