Added route to list overdue / upcoming assets via API

This commit is contained in:
snipe 2019-05-05 19:11:28 -04:00
parent e46cccdf90
commit 52c9e8ad96

View file

@ -321,13 +321,17 @@ Route::group(['prefix' => 'v1','namespace' => 'Api'], function () {
'uses' => 'AssetsController@selectlist'
]);
Route::get('audit/{audit}', [
'as' => 'api.asset.to-audit',
'uses' => 'AssetsController@index'
]);
Route::post('audit', [
'as' => 'api.asset.audit',
'uses' => 'AssetsController@audit'
]);
Route::post('{asset_id}/checkout',
[
'as' => 'api.assets.checkout',