diff --git a/routes/api.php b/routes/api.php index 51032feaac..398af78bce 100644 --- a/routes/api.php +++ b/routes/api.php @@ -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',