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
1 changed files with 8 additions and 0 deletions
|
@ -903,6 +903,14 @@ Route::group(['prefix' => 'v1','namespace' => 'Api', 'middleware' => 'auth:api']
|
||||||
[ 'as' => 'api.activity.index', 'uses' => 'ReportsController@index' ]
|
[ 'as' => 'api.activity.index', 'uses' => 'ReportsController@index' ]
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Route::get(
|
||||||
|
'reports/depreciation',
|
||||||
|
[
|
||||||
|
'as' => 'api.depreciation-report.index',
|
||||||
|
'uses' => 'AssetsController@index'
|
||||||
|
]
|
||||||
|
);
|
||||||
|
|
||||||
/*--- Kits API ---*/
|
/*--- Kits API ---*/
|
||||||
|
|
||||||
Route::resource('kits', 'PredefinedKitsController',
|
Route::resource('kits', 'PredefinedKitsController',
|
||||||
|
|
Loading…
Add table
Reference in a new issue