Fix license Checkout.
A mistake in the sqlite porting led to "Please select an asset" disappearing. This centralizes that code in Helper, and uses the code in Licensescontroller and componentscontroller. Also use the proper name on the components checkout page. AssetMaintencesController reuses the same underlying code as licensescontroller, but we don't want "Please select an asset" to be an option there, so I'm not changing that code.
This commit is contained in:
@@ -287,7 +287,7 @@ class ComponentsController extends Controller
|
||||
}
|
||||
|
||||
// Get the dropdown of assets and then pass it to the checkout view
|
||||
$assets_list = Helper::assetsList();
|
||||
$assets_list = Helper::detailedAssetList();
|
||||
|
||||
return View::make('components/checkout', compact('component'))->with('assets_list', $assets_list);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user