Added Ajax reporting view

This commit is contained in:
snipe 2016-09-19 23:52:01 -07:00
parent 3741a93884
commit 2597a7b896

View file

@ -924,6 +924,12 @@ Route::group(['middleware' => ['web','auth','authorize:reports.view']], function
'reports/activity', 'reports/activity',
[ 'as' => 'reports/activity', 'uses' => 'ReportsController@getActivityReport' ] [ 'as' => 'reports/activity', 'uses' => 'ReportsController@getActivityReport' ]
); );
Route::get(
'reports/activity/json',
[ 'as' => 'api.activity.list', 'uses' => 'ReportsController@getActivityReportDataTable' ]
);
Route::get( Route::get(
'reports/unaccepted_assets', 'reports/unaccepted_assets',
[ 'as' => 'reports/unaccepted_assets', 'uses' => 'ReportsController@getAssetAcceptanceReport' ] [ 'as' => 'reports/unaccepted_assets', 'uses' => 'ReportsController@getAssetAcceptanceReport' ]