Skip to content

A free open source IT asset/license management system

Added bulk checkin route

snipeb6e48f7f1183
diff --git a/routes/web/components.php b/routes/web/components.php
index 1f9fce9cbd..9495b92edd 100644
--- a/routes/web/components.php
+++ b/routes/web/components.php
@@ -39,6 +39,12 @@ Route::group(['prefix' => 'components', 'middleware' => ['auth']], function () {
)->where('componentID', '[0-9]+')
->name('components.checkin.store');
+ // Bulk check-in from the component's assigned tab.
+ Route::post(
+ 'bulkcheckin/selected',
+ [Components\ComponentCheckinController::class, 'bulkCheckinSelected']
+ )->name('components.bulkcheckin.selected');
+
Route::get('{component}/clone',
[Components\ComponentsController::class, 'getClone']
)->where('component', '[0-9]+')