Added API route for depreciations report

RED FLAG: This will need to be updated for v6!!!!

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2021-09-01 17:05:00 -07:00
parent d5a7955e1d
commit 67357e07f1

View file

@ -903,6 +903,14 @@ Route::group(['prefix' => 'v1','namespace' => 'Api', 'middleware' => 'auth:api']
[ 'as' => 'api.activity.index', 'uses' => 'ReportsController@index' ]
);
Route::get(
'reports/depreciation',
[
'as' => 'api.depreciation-report.index',
'uses' => 'AssetsController@index'
]
);
/*--- Kits API ---*/
Route::resource('kits', 'PredefinedKitsController',