mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
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:
parent
d5a7955e1d
commit
67357e07f1
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue