A free open source IT asset/license management system
Added interstitial routes
snipe9268d0546bbe
diff --git a/routes/web/accessories.php b/routes/web/accessories.phpindex 1b1c11a5bd..59f44acab5 100644--- a/routes/web/accessories.php+++ b/routes/web/accessories.php@@ -36,11 +36,18 @@ Route::group(['prefix' => 'accessories', 'middleware' => ['auth']], function ())->where('accessoryID', '[0-9]+')->name('accessories.checkin.store');- // Bulk check-in from the accessory's checked-out tab.+ // Bulk check-in from the accessory's checked-out tab. The `.show`+ // route renders the confirmation interstitial where the admin+ // picks the shared note; `.store` applies the checkin.Route::post(- 'bulkcheckin/selected',- [Accessories\AccessoryCheckinController::class, 'bulkCheckinSelected']- )->name('accessories.bulkcheckin.selected');+ 'bulkcheckin/show',+ [Accessories\AccessoryCheckinController::class, 'bulkCheckinShow']+ )->name('accessories.bulkcheckin.show');++ Route::post(+ 'bulkcheckin/store',+ [Accessories\AccessoryCheckinController::class, 'bulkCheckinStore']+ )->name('accessories.bulkcheckin.store');Route::get('{accessory}/clone',[Accessories\AccessoriesController::class, 'getClone']diff --git a/routes/web/components.php b/routes/web/components.phpindex 367c70ac64..1ee2cdebef 100644--- a/routes/web/components.php+++ b/routes/web/components.php@@ -39,11 +39,18 @@ Route::group(['prefix' => 'components', 'middleware' => ['auth']], function () {)->where('componentID', '[0-9]+')->name('components.checkin.store');- // Bulk check-in from the component's assigned tab.+ // Bulk check-in from the component's assigned tab. The `.show`+ // route renders the confirmation interstitial where the admin+ // picks the shared note. `.store` applies the checkin.Route::post(- 'bulkcheckin/selected',- [Components\ComponentCheckinController::class, 'bulkCheckinSelected']- )->name('components.bulkcheckin.selected');+ 'bulkcheckin/show',+ [Components\ComponentCheckinController::class, 'bulkCheckinShow']+ )->name('components.bulkcheckin.show');++ Route::post(+ 'bulkcheckin/store',+ [Components\ComponentCheckinController::class, 'bulkCheckinStore']+ )->name('components.bulkcheckin.store');Route::get('{component}/clone',[Components\ComponentsController::class, 'getClone']diff --git a/routes/web/licenses.php b/routes/web/licenses.phpindex 7b9901a11a..99f739338f 100644--- a/routes/web/licenses.php+++ b/routes/web/licenses.php@@ -43,10 +43,19 @@ Route::group(['prefix' => 'licenses', 'middleware' => ['auth']], function () {)->where('licenseId', '[0-9]+')->name('licenses.bulkcheckin');+ // Bulk check-in from the hardware or user show page's licenses+ // tab. The `.show` route renders the confirmation interstitial+ // where the admin picks the shared note. `.store` applies the+ // checkin.Route::post(- 'bulkcheckin/selected',- [Licenses\LicenseCheckinController::class, 'bulkCheckinSelected']- )->name('licenses.bulkcheckin.selected');+ 'bulkcheckin/show',+ [Licenses\LicenseCheckinController::class, 'bulkCheckinShow']+ )->name('licenses.bulkcheckin.show');++ Route::post(+ 'bulkcheckin/store',+ [Licenses\LicenseCheckinController::class, 'bulkCheckinStore']+ )->name('licenses.bulkcheckin.store');Route::post('{licenseId}/bulkcheckout',