Fixes #4182 - empty names for assets when checking out to asset

This commit is contained in:
snipe 2017-10-11 01:31:37 -07:00
parent f64c02ce12
commit 64e7ab3a12

View file

@ -432,7 +432,7 @@ class AssetsController extends Controller
// Get the dropdown of users and then pass it to the checkout view // Get the dropdown of users and then pass it to the checkout view
return view('hardware/checkout', compact('asset')) return view('hardware/checkout', compact('asset'))
->with('users_list', Helper::usersList()) ->with('users_list', Helper::usersList())
->with('assets_list', Helper::assetsList()) ->with('assets_list', Helper::detailedAssetList())
->with('locations_list', Helper::locationsList()); ->with('locations_list', Helper::locationsList());
} }