From e047d5516c9d9a71c38ce28b3414c1b47e750260 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 2 Mar 2022 14:19:16 -0800 Subject: [PATCH] Added new bulk checkin routes Signed-off-by: snipe --- routes/web/hardware.php | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/routes/web/hardware.php b/routes/web/hardware.php index 22c4f0f20c..5bcefe32a1 100644 --- a/routes/web/hardware.php +++ b/routes/web/hardware.php @@ -165,7 +165,7 @@ Route::group( [BulkAssetsController::class, 'update'] )->name('hardware/bulksave'); - // Bulk checkout / checkin + // Bulk checkout Route::get('bulkcheckout', [BulkAssetsController::class, 'showCheckout'] )->name('hardware/bulkcheckout'); @@ -173,7 +173,17 @@ Route::group( Route::post('bulkcheckout', [BulkAssetsController::class, 'storeCheckout'] )->name('hardware/bulkcheckout'); - }); + + // Bulk checkin + Route::get('bulkcheckin', + [BulkAssetsController::class, 'showCheckin'] + )->name('hardware/bulkcheckin'); + + Route::post('bulkcheckin', + [BulkAssetsController::class, 'storeCheckin'] + )->name('hardware/bulkcheckin'); + + }); Route::resource('hardware', AssetsController::class,