moon displays

This commit is contained in:
2021-05-31 23:56:32 +09:00
parent 0815b43797
commit fadf93b425

View File

@@ -89,15 +89,15 @@ class MiningTaxesController extends Controller
$systems = AllianceMoon::where([ $systems = AllianceMoon::where([
'rented' => 'No', 'rented' => 'No',
])->where(['moon_type', '!=', 'R32']) ])->where('moon_type', '!=', 'R32')
->orWhere(['moon_type', '!=', 'R64']) ->orWhere('moon_type', '!=', 'R64')
->pluck('system_name')->unique()->toArray(); ->pluck('system_name')->unique()->toArray();
//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',
])->where(['moon_type', '!=', 'R32']) ])->where('moon_type', '!=', 'R32')
->orWhere(['moon_type', '!=', 'R64']) ->orWhere('moon_type', '!=', 'R64')
->get(); ->get();
foreach($allyMoons as $moon) { foreach($allyMoons as $moon) {