diff --git a/app/Http/Controllers/AssetCheckoutController.php b/app/Http/Controllers/AssetCheckoutController.php index 0dd499482f..1a8f11d467 100644 --- a/app/Http/Controllers/AssetCheckoutController.php +++ b/app/Http/Controllers/AssetCheckoutController.php @@ -28,7 +28,6 @@ class AssetCheckoutController extends Controller { // Check if the asset exists if (is_null($asset = Asset::find(e($assetId)))) { - // Redirect to the asset management page with error return redirect()->route('hardware.index')->with('error', trans('admin/hardware/message.does_not_exist')); } @@ -39,7 +38,6 @@ class AssetCheckoutController extends Controller } return redirect()->route('hardware.index')->with('error', trans('admin/hardware/message.checkout.not_available')); - // Get the dropdown of users and then pass it to the checkout view }