Update all locations call type
Update all locations call type
This commit is contained in:
parent
1251fae0df
commit
7b37eba517
|
@ -12,7 +12,7 @@ class LocationsController extends Controller
|
||||||
{
|
{
|
||||||
public function index()
|
public function index()
|
||||||
{
|
{
|
||||||
$locations = Locations::all();
|
$locations = Locations::allLocations();
|
||||||
return view('locations.index', compact(['locations']));
|
return view('locations.index', compact(['locations']));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@ class ResellerController extends Controller
|
||||||
public function create()
|
public function create()
|
||||||
{
|
{
|
||||||
$Providers = Providers::allProviders();
|
$Providers = Providers::allProviders();
|
||||||
$Locations = Locations::all();
|
$Locations = Locations::allLocations();
|
||||||
return view('reseller.create', compact(['Providers', 'Locations']));
|
return view('reseller.create', compact(['Providers', 'Locations']));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -82,7 +82,7 @@ class ServerController extends Controller
|
||||||
public function create()
|
public function create()
|
||||||
{
|
{
|
||||||
$Providers = Providers::allProviders();
|
$Providers = Providers::allProviders();
|
||||||
$Locations = Locations::all();
|
$Locations = Locations::allLocations();
|
||||||
$Os = OS::allOS();
|
$Os = OS::allOS();
|
||||||
return view('servers.create', compact(['Providers', 'Locations', 'Os']));
|
return view('servers.create', compact(['Providers', 'Locations', 'Os']));
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,7 +29,7 @@ class SharedController extends Controller
|
||||||
public function create()
|
public function create()
|
||||||
{
|
{
|
||||||
$Providers = Providers::allProviders();
|
$Providers = Providers::allProviders();
|
||||||
$Locations = Locations::all();
|
$Locations = Locations::allLocations();
|
||||||
return view('shared.create', compact(['Providers', 'Locations']));
|
return view('shared.create', compact(['Providers', 'Locations']));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user