Fixed property

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-12-16 15:48:46 +00:00 committed by Brady Wetherington
parent b93fc80011
commit b233715796

View file

@ -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')]);