From b2337157961019119432fe35aa7f20d88c21f565 Mon Sep 17 00:00:00 2001 From: snipe Date: Mon, 16 Dec 2024 15:48:46 +0000 Subject: [PATCH] Fixed property Signed-off-by: snipe --- .../Controllers/Accessories/AccessoryCheckoutController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Http/Controllers/Accessories/AccessoryCheckoutController.php b/app/Http/Controllers/Accessories/AccessoryCheckoutController.php index d8f3843795..58ce787245 100644 --- a/app/Http/Controllers/Accessories/AccessoryCheckoutController.php +++ b/app/Http/Controllers/Accessories/AccessoryCheckoutController.php @@ -90,9 +90,8 @@ class AccessoryCheckoutController extends Controller event(new CheckoutableCheckedOut($accessory, $target, auth()->user(), $request->input('note'))); - // Set this as user since we only allow checkout to user for this item type $request->request->add(['checkout_to_type' => request('checkout_to_type')]); - $request->request->add(['assigned_user' => $target->id]); + $request->request->add(['assigned_to' => $target->id]); session()->put(['redirect_option' => $request->get('redirect_option'), 'checkout_to_type' => $request->get('checkout_to_type')]);