diff --git a/app/Http/Controllers/Moons/MoonsController.php b/app/Http/Controllers/Moons/MoonsController.php index 0cafeabaf..d21bfc726 100644 --- a/app/Http/Controllers/Moons/MoonsController.php +++ b/app/Http/Controllers/Moons/MoonsController.php @@ -46,15 +46,6 @@ class MoonsController extends Controller ->with('moons', $moons); } - /** - * Function to display alliance moons of a particular system - */ - public function displayMoonsSystem($system) { - $moons = AllianceMoon::where(['System' => $system])->get(); - - return view('moons.user.allmoons.system')->with('moons', $moons); - } - /** * Function to display the moons and pass data to the blade template */ diff --git a/resources/views/layouts/moons/b4.blade.php b/resources/views/layouts/moons/b4.blade.php new file mode 100644 index 000000000..8ea3bd470 --- /dev/null +++ b/resources/views/layouts/moons/b4.blade.php @@ -0,0 +1,40 @@ + + +
+ + + + +| Location | -Corporation | -Structure Name | -First Ore | -First Quantity | -Second Ore | -Second Quantity | -Third Ore | -Third Quantity | -Fourth Ore | -Fourth Quantity | -Available | - - - @foreach($moons as $moon) -|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $moon->System . " - " . $moon->Planet . " - " . $moon->Moon }} | -{{ $moon->Corporation }} | -{{ $moon->StructureName }} | -{{ $moon->FirstOre }} | -{{ $moon->FirstQuantity }} | -{{ $moon->SecondOre }} | -{{ $moon->SecondQuantity }} | -{{ $moon->ThirdOre }} | -{{ $moon->ThirdQuantity }} | -{{ $moon->FourthOre }} | -{{ $moon->FourthQuantity }} | - @if($moon->Available == 1) -Yes | - @else -No | - @endif -