moon displays

This commit is contained in:
2021-05-31 23:36:18 +09:00
parent 38b0b8f63f
commit e4ccf5190b

View File

@@ -86,7 +86,7 @@ class MiningTaxesController extends Controller
'Loparite', 'Loparite',
'Ytterbite', 'Ytterbite',
]; ];
/*
$systems = [ $systems = [
'0-NTIS', '0-NTIS',
'1-NJLK', '1-NJLK',
@@ -103,13 +103,12 @@ class MiningTaxesController extends Controller
'XZ-SKZ', 'XZ-SKZ',
'Y-CWQY', 'Y-CWQY',
]; ];
*/
$systems = AllianceMoon::where([ $systems = AllianceMoon::where([
'rented' => 'No', 'rented' => 'No',
])->pluck('system_name')->unique()->toArray(); ])->pluck('system_name')->unique()->toArray();
dd($systems);
//Get all of the moons which are not rented //Get all of the moons which are not rented
$allyMoons = AllianceMoon::where([ $allyMoons = AllianceMoon::where([
'rented' => 'No', 'rented' => 'No',
@@ -124,8 +123,6 @@ class MiningTaxesController extends Controller
'system' => $moon->system_name, 'system' => $moon->system_name,
'ores' => $ores, 'ores' => $ores,
]); ]);
dd($moons);
} }
return view('miningtax.user.display.moons.allmoons')->with('moons', $moons) return view('miningtax.user.display.moons.allmoons')->with('moons', $moons)