mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44:06 -08:00
Added route to list overdue / upcoming assets via API
This commit is contained in:
parent
e46cccdf90
commit
52c9e8ad96
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue